What is the difference between
pass, continue, and break?Answer:
tags: #interview
Please open Telegram to view this post
VIEW IN TELEGRAM
❤7👏1
🚀 Master Data Science & Programming!
Unlock your potential with this curated list of Telegram channels. Whether you need books, datasets, interview prep, or project ideas, we have the perfect resource for you. Join the community today!
🔰 Machine Learning with Python
Learn Machine Learning with hands-on Python tutorials, real-world code examples, and clear explanations for researchers and developers.
https://news.1rj.ru/str/CodeProgrammer
🔖 Machine Learning
Machine learning insights, practical tutorials, and clear explanations for beginners and aspiring data scientists. Follow the channel for models, algorithms, coding guides, and real-world ML applications.
https://news.1rj.ru/str/DataScienceM
🧠 Code With Python
This channel delivers clear, practical content for developers, covering Python, Django, Data Structures, Algorithms, and DSA – perfect for learning, coding, and mastering key programming skills.
https://news.1rj.ru/str/DataScience4
🎯 PyData Careers | Quiz
Python Data Science jobs, interview tips, and career insights for aspiring professionals.
https://news.1rj.ru/str/DataScienceQ
💾 Kaggle Data Hub
Your go-to hub for Kaggle datasets – explore, analyze, and leverage data for Machine Learning and Data Science projects.
https://news.1rj.ru/str/datasets1
🧑🎓 Udemy Coupons | Courses
The first channel in Telegram that offers free Udemy coupons
https://news.1rj.ru/str/DataScienceC
😀 ML Research Hub
Advancing research in Machine Learning – practical insights, tools, and techniques for researchers.
https://news.1rj.ru/str/DataScienceT
💬 Data Science Chat
An active community group for discussing data challenges and networking with peers.
https://news.1rj.ru/str/DataScience9
🐍 Python Arab| بايثون عربي
The largest Arabic-speaking group for Python developers to share knowledge and help.
https://news.1rj.ru/str/PythonArab
🖊 Data Science Jupyter Notebooks
Explore the world of Data Science through Jupyter Notebooks—insights, tutorials, and tools to boost your data journey. Code, analyze, and visualize smarter with every post.
https://news.1rj.ru/str/DataScienceN
📺 Free Online Courses | Videos
Free online courses covering data science, machine learning, analytics, programming, and essential skills for learners.
https://news.1rj.ru/str/DataScienceV
📈 Data Analytics
Dive into the world of Data Analytics – uncover insights, explore trends, and master data-driven decision making.
https://news.1rj.ru/str/DataAnalyticsX
🎧 Learn Python Hub
Master Python with step-by-step courses – from basics to advanced projects and practical applications.
https://news.1rj.ru/str/Python53
⭐️ Research Papers
Professional Academic Writing & Simulation Services
https://news.1rj.ru/str/DataScienceY
━━━━━━━━━━━━━━━━━━
Admin: @HusseinSheikho
Unlock your potential with this curated list of Telegram channels. Whether you need books, datasets, interview prep, or project ideas, we have the perfect resource for you. Join the community today!
Learn Machine Learning with hands-on Python tutorials, real-world code examples, and clear explanations for researchers and developers.
https://news.1rj.ru/str/CodeProgrammer
Machine learning insights, practical tutorials, and clear explanations for beginners and aspiring data scientists. Follow the channel for models, algorithms, coding guides, and real-world ML applications.
https://news.1rj.ru/str/DataScienceM
This channel delivers clear, practical content for developers, covering Python, Django, Data Structures, Algorithms, and DSA – perfect for learning, coding, and mastering key programming skills.
https://news.1rj.ru/str/DataScience4
Python Data Science jobs, interview tips, and career insights for aspiring professionals.
https://news.1rj.ru/str/DataScienceQ
Your go-to hub for Kaggle datasets – explore, analyze, and leverage data for Machine Learning and Data Science projects.
https://news.1rj.ru/str/datasets1
The first channel in Telegram that offers free Udemy coupons
https://news.1rj.ru/str/DataScienceC
Advancing research in Machine Learning – practical insights, tools, and techniques for researchers.
https://news.1rj.ru/str/DataScienceT
An active community group for discussing data challenges and networking with peers.
https://news.1rj.ru/str/DataScience9
The largest Arabic-speaking group for Python developers to share knowledge and help.
https://news.1rj.ru/str/PythonArab
Explore the world of Data Science through Jupyter Notebooks—insights, tutorials, and tools to boost your data journey. Code, analyze, and visualize smarter with every post.
https://news.1rj.ru/str/DataScienceN
Free online courses covering data science, machine learning, analytics, programming, and essential skills for learners.
https://news.1rj.ru/str/DataScienceV
Dive into the world of Data Analytics – uncover insights, explore trends, and master data-driven decision making.
https://news.1rj.ru/str/DataAnalyticsX
Master Python with step-by-step courses – from basics to advanced projects and practical applications.
https://news.1rj.ru/str/Python53
Professional Academic Writing & Simulation Services
https://news.1rj.ru/str/DataScienceY
━━━━━━━━━━━━━━━━━━
Admin: @HusseinSheikho
Please open Telegram to view this post
VIEW IN TELEGRAM
❤7
How does the
map() function work?Answer:
tags:#interview
Please open Telegram to view this post
VIEW IN TELEGRAM
❤5
🚀 Pass Your IT Exam in 2025——Free Practice Tests & Premium Materials
SPOTO offers free, instant access to high-quality, up-to-date resources that help you study smarter and pass faster
✔️ Python, CCNA, CCNP, AWS, PMP, CISSP, Azure, & more
✔️ 100% Free, no sign-up, Instantly downloadable
📥Grab your free materials here:
·IT exams skill Test : https://bit.ly/443t4xB
·IT Certs E-book : https://bit.ly/4izDv1D
·Python, Excel, Cyber Security Courses : https://bit.ly/44LidZf
📱 Join Our IT Study Group for insider tips & expert support:
https://chat.whatsapp.com/K3n7OYEXgT1CHGylN6fM5a
💬 Need help ? Chat with an admin now:
wa.link/cbfsmf
⏳ Don’t Wait—Boost Your Career Today!
SPOTO offers free, instant access to high-quality, up-to-date resources that help you study smarter and pass faster
✔️ Python, CCNA, CCNP, AWS, PMP, CISSP, Azure, & more
✔️ 100% Free, no sign-up, Instantly downloadable
📥Grab your free materials here:
·IT exams skill Test : https://bit.ly/443t4xB
·IT Certs E-book : https://bit.ly/4izDv1D
·Python, Excel, Cyber Security Courses : https://bit.ly/44LidZf
📱 Join Our IT Study Group for insider tips & expert support:
https://chat.whatsapp.com/K3n7OYEXgT1CHGylN6fM5a
💬 Need help ? Chat with an admin now:
wa.link/cbfsmf
⏳ Don’t Wait—Boost Your Career Today!
❤2
✖️ DON'T CREATE NESTED LISTS WITH THE
Because of this, you create a list containing multiple references to the very same inner list.
It looks like you're making a grid, but modifying one row will surprisingly change all of them. This is because the outer list just holds copies of the reference, not copies of the list itself.
Correct — use a list comprehension to ensure each inner list is a new, independent object.
Subscribe for more Python secrets!
━━━━━━━━━━━━━━━
By: @DataScienceQ ✨
* OPERATOR.Because of this, you create a list containing multiple references to the very same inner list.
It looks like you're making a grid, but modifying one row will surprisingly change all of them. This is because the outer list just holds copies of the reference, not copies of the list itself.
Correct — use a list comprehension to ensure each inner list is a new, independent object.
Subscribe for more Python secrets!
# hidden error — all inner lists are the same object
matrix = [[]] * 3 # seems to create a 3x0 matrix
# append to the first row
matrix[0].append(99)
# all rows were modified!
print(matrix) # [[99], [99], [99]]
# ✅ correct version — use a list comprehension
matrix_fixed = [[] for _ in range(3)]
# append to the first row
matrix_fixed[0].append(99)
# only the first row is modified, as expected
print(matrix_fixed) # [[99], [], []]
━━━━━━━━━━━━━━━
By: @DataScienceQ ✨
❤5
🎁❗️TODAY FREE❗️🎁
Entry to our VIP channel is completely free today. Tomorrow it will cost $500! 🔥
JOIN 👇
https://news.1rj.ru/str/+MPpZ4FO2PHQ4OTZi
https://news.1rj.ru/str/+MPpZ4FO2PHQ4OTZi
https://news.1rj.ru/str/+MPpZ4FO2PHQ4OTZi
Entry to our VIP channel is completely free today. Tomorrow it will cost $500! 🔥
JOIN 👇
https://news.1rj.ru/str/+MPpZ4FO2PHQ4OTZi
https://news.1rj.ru/str/+MPpZ4FO2PHQ4OTZi
https://news.1rj.ru/str/+MPpZ4FO2PHQ4OTZi
❤2
Checking Memory Usage in Python
psutil is imported, then through psutil.virtual_memory() memory data is obtained.
The function convert_bytes converts bytes to gigabytes.
Then the code calculates:
- total RAM
- available RAM
- used RAM
- percentage usage
And outputs this to the console.
Or simply press CTRL + ALT + DELETE and open Task Manager. It has worked since the days of Windows 95.
The RAM usage percentage loses its meaning if you have Chrome open — it will consume everything on its own 😄
👉 https://news.1rj.ru/str/DataScienceQ
psutil is imported, then through psutil.virtual_memory() memory data is obtained.
The function convert_bytes converts bytes to gigabytes.
Then the code calculates:
- total RAM
- available RAM
- used RAM
- percentage usage
And outputs this to the console.
import psutil
memory = psutil.virtual_memory()
def convert_bytes(size):
# Convert bytes to GB
gb = size / (1024 ** 3)
return gb
total_gb = convert_bytes(memory.total)
available_gb = convert_bytes(memory.available)
used_gb = convert_bytes(memory.used)
print(f"Total RAM: {total_gb:.3f} GB")
print(f"Available RAM: {available_gb:.3f} GB")
print(f"Used RAM: {used_gb:.3f} GB")
print(f"RAM Usage: {memory.percent}%")
The RAM usage percentage loses its meaning if you have Chrome open — it will consume everything on its own
Please open Telegram to view this post
VIEW IN TELEGRAM
❤2
What can be a key in a dictionary?
Answer:
tags: #interview
Please open Telegram to view this post
VIEW IN TELEGRAM
❤4👏3
Why does
isinstance(True, int) return True?Answer:
tags: #interview
Please open Telegram to view this post
VIEW IN TELEGRAM
❤6👍1
Forwarded from Machine Learning with Python
Our Group on Signal (only for Programmers)
https://signal.group/#CjQKIPcpEqLQow53AG7RHjeVk-4sc1TFxyym3r0gQQzV-OPpEhCPw_-kRmJ8LlC13l0WiEfp
https://signal.group/#CjQKIPcpEqLQow53AG7RHjeVk-4sc1TFxyym3r0gQQzV-OPpEhCPw_-kRmJ8LlC13l0WiEfp
What is Big O notation?
Answer:
For example, O(n) grows linearly, O(n²) - quadratically, O(1) - does not depend on the size of the input.
Big O does not give exact figures, but allows you to compare algorithms in terms of their scalability.
tags: #interview
Please open Telegram to view this post
VIEW IN TELEGRAM
❤6
What is
__slots__?Answer:
There is one restriction: it is not possible to add an attribute that is notslotsts__. To retain the ability to dynamically create fields, you can dictct__ to the list of slots.
tags:
Please open Telegram to view this post
VIEW IN TELEGRAM
❤5👎1
❗️LISA HELPS EVERYONE EARN MONEY!$29,000 HE'S GIVING AWAY TODAY!
Everyone can join his channel and make money! He gives away from $200 to $5.000 every day in his channel
https://news.1rj.ru/str/+YDWOxSLvMfQ2MGNi
⚡️FREE ONLY FOR THE FIRST 500 SUBSCRIBERS! FURTHER ENTRY IS PAID! 👆👇
https://news.1rj.ru/str/+YDWOxSLvMfQ2MGNi
Everyone can join his channel and make money! He gives away from $200 to $5.000 every day in his channel
https://news.1rj.ru/str/+YDWOxSLvMfQ2MGNi
⚡️FREE ONLY FOR THE FIRST 500 SUBSCRIBERS! FURTHER ENTRY IS PAID! 👆👇
https://news.1rj.ru/str/+YDWOxSLvMfQ2MGNi
❤2
🚀 Unlock Your Web3 Potential with CRYDEN Web3 🚀
Imagine waking up to passive income rolling into your wallet like clockwork—no transfers, no guesswork, just steady growth. This is the calm in the chaos of crypto, where smart mining meets security and ease. Connect your Trust Wallet, start mining, and watch your earnings build — all while life goes on.
Safe, simple, professional—just a few clicks to join 2.8 million participants worldwide. Ready to turn your crypto into daily rewards? 🔥
Start your mining journey now → Join CRYDEN Web3 ⚡️
#ad InsideAds
Imagine waking up to passive income rolling into your wallet like clockwork—no transfers, no guesswork, just steady growth. This is the calm in the chaos of crypto, where smart mining meets security and ease. Connect your Trust Wallet, start mining, and watch your earnings build — all while life goes on.
Safe, simple, professional—just a few clicks to join 2.8 million participants worldwide. Ready to turn your crypto into daily rewards? 🔥
Start your mining journey now → Join CRYDEN Web3 ⚡️
#ad InsideAds
❤1
What is a message broker and which ones are typically used with Python?
Answer:
In Python projects, RabbitMQ, Apache Kafka, and Redis are often used as simple broker solutions (for example, in combination with Celery). The choice depends on the tasks: Kafka for stream processing, RabbitMQ for flexible routing, and Redis for simple queues.
tags: #interview
🔗 Subscribe to the channel: I never believed crypto mining could be this simple: no transfers, just automatic daily earnings up to 20%. Discover the secret behind USDT liquidity mining at CRYDEN Web3. | InsideAds
Please open Telegram to view this post
VIEW IN TELEGRAM
❤3
How could telegram be used for marketing?
Help me with my bachelor thesis 🙏
Quick survey (max 3 minutes).
3 people win $10 USDT 🎁
Thanks!
https://qualtricsxmtfg9cjqzs.qualtrics.com/jfe/form/SV_eUKFbnB166Qz5FI
Sponsored By WaybienAds
Help me with my bachelor thesis 🙏
Quick survey (max 3 minutes).
3 people win $10 USDT 🎁
Thanks!
https://qualtricsxmtfg9cjqzs.qualtrics.com/jfe/form/SV_eUKFbnB166Qz5FI
Sponsored By WaybienAds
❤1