1. What will be the output of the following code?
A. [1] then [2]
B. [1] then [1, 2]
C. [] then []
D. Raises TypeError
Correct answer: A.
2. What is printed by this code?
A. 10
B. 5
C. None
D. UnboundLocalError
Correct answer: D.
3. What is the result of executing this code?
A. [1, 2, 3, 4]
B. [4]
C. [1, 2, 3]
D. []
Correct answer: C.
4. What does the following expression evaluate to?
A. False
B. True
C. Raises ValueError
D. None
Correct answer: B.
5. What will be the output?
A. <class 'list'>
B. <class 'set'>
C. <class 'dict'>
D. <class 'tuple'>
Correct answer: C.
6. What is printed by this code?
A. (1, 2, [3])
B. (1, 2, [3, 4])
C. TypeError
D. AttributeError
Correct answer: C.
7. What does this code output?
A. [0, 1, 2]
B. [1, 2]
C. [0]
D. []
Correct answer: B.
8. What will be printed?
A. None
B. KeyError
C. 2
D. "b"
Correct answer: C.
9. What is the output?
A. True True
B. True False
C. False True
D. False False
Correct answer: A.
10. What does this code produce?
A. 0 1
B. 1 2
C. 0 0
D. StopIteration
Correct answer: A.
11. What is printed?
A. {0, 1}
B. {0: 0, 1: 1}
C. [(0,0),(1,1)]
D. Error
Correct answer: B.
12. What is the result of this comparison?
A. True True
B. False False
C. True False
D. False True
Correct answer: C.
13. What will be printed?
A. A
B. B
C. B then A
D. A then B
Correct answer: C.
14. What does this code output?
A. [1, 2, 3]
B. [3]
C. [1, 2]
D. Error
Correct answer: C.
15. What is printed?
A. <class 'list'>
B. <class 'tuple'>
C. <class 'generator'>
D. <class 'range'>
Correct answer: C.
def add_item(item, lst=None):
if lst is None:
lst = []
lst.append(item)
return lst
print(add_item(1))
print(add_item(2))
A. [1] then [2]
B. [1] then [1, 2]
C. [] then []
D. Raises TypeError
Correct answer: A.
2. What is printed by this code?
x = 10
def func():
print(x)
x = 5
func()
A. 10
B. 5
C. None
D. UnboundLocalError
Correct answer: D.
3. What is the result of executing this code?
a = [1, 2, 3]
b = a[:]
a.append(4)
print(b)
A. [1, 2, 3, 4]
B. [4]
C. [1, 2, 3]
D. []
Correct answer: C.
4. What does the following expression evaluate to?
bool("False")A. False
B. True
C. Raises ValueError
D. None
Correct answer: B.
5. What will be the output?
print(type({}))A. <class 'list'>
B. <class 'set'>
C. <class 'dict'>
D. <class 'tuple'>
Correct answer: C.
6. What is printed by this code?
x = (1, 2, [3])
x[2] += [4]
print(x)
A. (1, 2, [3])
B. (1, 2, [3, 4])
C. TypeError
D. AttributeError
Correct answer: C.
7. What does this code output?
print([i for i in range(3) if i])
A. [0, 1, 2]
B. [1, 2]
C. [0]
D. []
Correct answer: B.
8. What will be printed?
d = {"a": 1}
print(d.get("b", 2))A. None
B. KeyError
C. 2
D. "b"
Correct answer: C.
9. What is the output?
print(1 in [1, 2], 1 is 1)
A. True True
B. True False
C. False True
D. False False
Correct answer: A.
10. What does this code produce?
def gen():
for i in range(2):
yield i
g = gen()
print(next(g), next(g))
A. 0 1
B. 1 2
C. 0 0
D. StopIteration
Correct answer: A.
11. What is printed?
print({x: x*x for x in range(2)})A. {0, 1}
B. {0: 0, 1: 1}
C. [(0,0),(1,1)]
D. Error
Correct answer: B.
12. What is the result of this comparison?
print([] == [], [] is [])
A. True True
B. False False
C. True False
D. False True
Correct answer: C.
13. What will be printed?
def f():
try:
return "A"
finally:
print("B")
print(f())
A. A
B. B
C. B then A
D. A then B
Correct answer: C.
14. What does this code output?
x = [1, 2]
y = x
x = x + [3]
print(y)
A. [1, 2, 3]
B. [3]
C. [1, 2]
D. Error
Correct answer: C.
15. What is printed?
print(type(i for i in range(3)))
A. <class 'list'>
B. <class 'tuple'>
C. <class 'generator'>
D. <class 'range'>
Correct answer: C.
โค9๐1
๐ฅ NEW YEAR 2026 โ PREMIUM SCIENTIFIC PAPER WRITING OFFER ๐ฅ
Q1-Ready | Journal-Targeted | Publication-Focused
Serious researchers, PhD & MSc students, postdocs, universities, and funded startups only.
To start 2026 strong, weโre offering a limited New Year scientific writing package designed for fast-track publication, not academic busywork.
๐ฏ What We Offer (End-of-Year Special):
โ๏ธ Full Research Paper Writing โ $400
(Q1 / Q2 journalโready)
Includes:
โ Journal-targeted manuscript (Elsevier / Springer / Wiley / IEEE / MDPI)
โ IMRAD structure (IntroductionโMethodsโResultsโDiscussion)
โ Strong problem formulation & novelty framing
โ Methodology written to reviewer standards
โ Professional academic English (native-level)
โ Plagiarism-free (Turnitin <10%)
โ Ready for immediate submission
๐ Available Paper Types:
Original Research Articles
Review & Systematic Review
AI / Machine Learning Papers
Engineering & Medical Research
Health AI & Clinical Data Studies
Interdisciplinary & Applied Research
๐ง Optional Add-ons (if needed):
Journal selection & scope matching
Cover letter to editor
Reviewer response (after review)
Statistical validation & result polishing
Figure & table redesign (publication quality)
๐ Why This Is Different
We donโt โwrite generic papers.โ
We engineer publishable research.
โ๏ธ Real novelty positioning
โ๏ธ Reviewer-proof logic
โ๏ธ Data-driven arguments
โ๏ธ Aligned with current 2025โ2026 journal expectations
Many of our papers are built on real-world datasets and are already aligned with Q1 journal standards.
โณ New Year Offer โ Limited Time
Regular price: $1,500 โ $3,000
New Year 2026 price: $400
Limited slots (quality > quantity)
๐ Priority given to:
PhD / MSc students
Active researchers
Funded startups
Universities & labs
๐ฉ DM for details, samples & timelines
Contact:
@Omidyzd62
Start 2026 with a submitted paperโnot just a plan
Q1-Ready | Journal-Targeted | Publication-Focused
Serious researchers, PhD & MSc students, postdocs, universities, and funded startups only.
To start 2026 strong, weโre offering a limited New Year scientific writing package designed for fast-track publication, not academic busywork.
๐ฏ What We Offer (End-of-Year Special):
โ๏ธ Full Research Paper Writing โ $400
(Q1 / Q2 journalโready)
Includes:
โ Journal-targeted manuscript (Elsevier / Springer / Wiley / IEEE / MDPI)
โ IMRAD structure (IntroductionโMethodsโResultsโDiscussion)
โ Strong problem formulation & novelty framing
โ Methodology written to reviewer standards
โ Professional academic English (native-level)
โ Plagiarism-free (Turnitin <10%)
โ Ready for immediate submission
๐ Available Paper Types:
Original Research Articles
Review & Systematic Review
AI / Machine Learning Papers
Engineering & Medical Research
Health AI & Clinical Data Studies
Interdisciplinary & Applied Research
๐ง Optional Add-ons (if needed):
Journal selection & scope matching
Cover letter to editor
Reviewer response (after review)
Statistical validation & result polishing
Figure & table redesign (publication quality)
๐ Why This Is Different
We donโt โwrite generic papers.โ
We engineer publishable research.
โ๏ธ Real novelty positioning
โ๏ธ Reviewer-proof logic
โ๏ธ Data-driven arguments
โ๏ธ Aligned with current 2025โ2026 journal expectations
Many of our papers are built on real-world datasets and are already aligned with Q1 journal standards.
โณ New Year Offer โ Limited Time
Regular price: $1,500 โ $3,000
New Year 2026 price: $400
Limited slots (quality > quantity)
๐ Priority given to:
PhD / MSc students
Active researchers
Funded startups
Universities & labs
๐ฉ DM for details, samples & timelines
Contact:
@Omidyzd62
Start 2026 with a submitted paperโnot just a plan
โค6๐ฅ3
Machine Learning with Python pinned ยซ๐ฅ NEW YEAR 2026 โ PREMIUM SCIENTIFIC PAPER WRITING OFFER ๐ฅ Q1-Ready | Journal-Targeted | Publication-Focused Serious researchers, PhD & MSc students, postdocs, universities, and funded startups only. To start 2026 strong, weโre offering a limited New Yearโฆยป
Forwarded from Machine Learning with Python
๐Stanford just completed a must-watch for anyone serious about AI:
๐ โ๐๐ ๐ ๐ฎ๐ต๐ฑ: ๐ง๐ฟ๐ฎ๐ป๐๐ณ๐ผ๐ฟ๐บ๐ฒ๐ฟ๐ & ๐๐ฎ๐ฟ๐ด๐ฒ ๐๐ฎ๐ป๐ด๐๐ฎ๐ด๐ฒ ๐ ๐ผ๐ฑ๐ฒ๐น๐โ is now live entirely on YouTube and itโs pure gold.
If youโre building your AI career, stop scrolling.
This isnโt another surface-level overview. Itโs the clearest, most structured intro to LLMs you could follow, straight from the Stanford Autumn 2025 curriculum.
๐ ๐ง๐ผ๐ฝ๐ถ๐ฐ๐ ๐ฐ๐ผ๐๐ฒ๐ฟ๐ฒ๐ฑ ๐ถ๐ป๐ฐ๐น๐๐ฑ๐ฒ:
โข How Transformers actually work (tokenization, attention, embeddings)
โข Decoding strategies & MoEs
โข LLM finetuning (LoRA, RLHF, supervised)
โข Evaluation techniques (LLM-as-a-judge)
โข Optimization tricks (RoPE, quantization, approximations)
โข Reasoning & scaling
โข Agentic workflows (RAG, tool calling)
๐ง My workflow: I usually take the transcripts, feed them into NotebookLM, and once Iโve done the lectures, I replay them during walks or commutes. That combo works wonders for retention.
๐ฅ Watch these now:
- Lecture 1: https://lnkd.in/dDER-qyp
- Lecture 2: https://lnkd.in/dk-tGUDm
- Lecture 3: https://lnkd.in/drAPdjJY
- Lecture 4: https://lnkd.in/e_RSgMz7
- Lecture 5: https://lnkd.in/eivMA9pe
- Lecture 6: https://lnkd.in/eYwwwMXn
- Lecture 7: https://lnkd.in/eKwkEDXV
- Lecture 8: https://lnkd.in/eEWvyfyK
- Lecture 9: https://lnkd.in/euiKRGaQ
๐ Do yourself a favor for this 2026: block 2-3 hours per week / llectue and go through them.
If youโre in AI โ whether building infra, agents, or apps โ this is the foundational course you donโt want to miss.
Letโs level up.
https://t.me/CodeProgrammer๐
๐ โ๐๐ ๐ ๐ฎ๐ต๐ฑ: ๐ง๐ฟ๐ฎ๐ป๐๐ณ๐ผ๐ฟ๐บ๐ฒ๐ฟ๐ & ๐๐ฎ๐ฟ๐ด๐ฒ ๐๐ฎ๐ป๐ด๐๐ฎ๐ด๐ฒ ๐ ๐ผ๐ฑ๐ฒ๐น๐โ is now live entirely on YouTube and itโs pure gold.
If youโre building your AI career, stop scrolling.
This isnโt another surface-level overview. Itโs the clearest, most structured intro to LLMs you could follow, straight from the Stanford Autumn 2025 curriculum.
๐ ๐ง๐ผ๐ฝ๐ถ๐ฐ๐ ๐ฐ๐ผ๐๐ฒ๐ฟ๐ฒ๐ฑ ๐ถ๐ป๐ฐ๐น๐๐ฑ๐ฒ:
โข How Transformers actually work (tokenization, attention, embeddings)
โข Decoding strategies & MoEs
โข LLM finetuning (LoRA, RLHF, supervised)
โข Evaluation techniques (LLM-as-a-judge)
โข Optimization tricks (RoPE, quantization, approximations)
โข Reasoning & scaling
โข Agentic workflows (RAG, tool calling)
๐ง My workflow: I usually take the transcripts, feed them into NotebookLM, and once Iโve done the lectures, I replay them during walks or commutes. That combo works wonders for retention.
๐ฅ Watch these now:
- Lecture 1: https://lnkd.in/dDER-qyp
- Lecture 2: https://lnkd.in/dk-tGUDm
- Lecture 3: https://lnkd.in/drAPdjJY
- Lecture 4: https://lnkd.in/e_RSgMz7
- Lecture 5: https://lnkd.in/eivMA9pe
- Lecture 6: https://lnkd.in/eYwwwMXn
- Lecture 7: https://lnkd.in/eKwkEDXV
- Lecture 8: https://lnkd.in/eEWvyfyK
- Lecture 9: https://lnkd.in/euiKRGaQ
๐ Do yourself a favor for this 2026: block 2-3 hours per week / llectue and go through them.
If youโre in AI โ whether building infra, agents, or apps โ this is the foundational course you donโt want to miss.
Letโs level up.
https://t.me/CodeProgrammer
Please open Telegram to view this post
VIEW IN TELEGRAM
โค5๐1
Forwarded from Code With Python
Automatic translator in Python!
We translate a text in a few lines using
Install the library:
Example of use:
Mass translation of a list:
๐ฅ We get a mini-Google Translate right in Python: you can embed it in a chatbot, use it in notes, or automate work with the API.
๐ช @DataScience4
We translate a text in a few lines using
deep-translator. It supports dozens of languages: from English and Russian to Japanese and Arabic.Install the library:
pip install deep-translator
Example of use:
from deep_translator import GoogleTranslator
text = "Hello, how are you?"
result = GoogleTranslator(source="ru", target="en").translate(text)
print("Original:", text)
print("Translation:", result)
Mass translation of a list:
texts = ["Hello", "What's your name?", "See you later"]
for t in texts:
print("โ", GoogleTranslator(source="ru", target="es").translate(t))
๐ฅ We get a mini-Google Translate right in Python: you can embed it in a chatbot, use it in notes, or automate work with the API.
Please open Telegram to view this post
VIEW IN TELEGRAM
โค11๐ฅ1
In scientific work, the most time is spent on reading articles, data, and reports.
On GitHub, there is a collection called Awesome AI for Science -ยปยปยป a catalog of AI tools for all stages of research.
Inside:
-ยป working with literature
-ยป data analysis
-ยป turning articles into posters
-ยป automating experiments
-ยป tools for biology, chemistry, physics, and other fields
GitHub: http://github.com/ai-boost/awesome-ai-for-science
The list includes Paper2Poster, MinerU, The AI Scientist, as well as articles, datasets, and frameworks.
In fact, this is a complete set of tools for AI support in scientific research.
๐ https://t.me/CodeProgrammer
On GitHub, there is a collection called Awesome AI for Science -ยปยปยป a catalog of AI tools for all stages of research.
Inside:
-ยป working with literature
-ยป data analysis
-ยป turning articles into posters
-ยป automating experiments
-ยป tools for biology, chemistry, physics, and other fields
GitHub: http://github.com/ai-boost/awesome-ai-for-science
The list includes Paper2Poster, MinerU, The AI Scientist, as well as articles, datasets, and frameworks.
In fact, this is a complete set of tools for AI support in scientific research.
Please open Telegram to view this post
VIEW IN TELEGRAM
โค5๐1๐1
AI-ML Roadmap from Scratch
๐ https://github.com/aadi1011/AI-ML-Roadmap-from-scratch?tab=readme-ov-file
https://t.me/CodeProgrammer๐
Like and Share
https://t.me/CodeProgrammer
Like and Share
Please open Telegram to view this post
VIEW IN TELEGRAM
โค5๐3๐1