Python Learning
رفتن به کانال در Telegram
Python learning resources Beginner to advanced Python guides, cheatsheets, books and projects. For data science, backend and automation. Join 👉 https://rebrand.ly/bigdatachannels DMCA: @disclosure_bds Contact: @mldatascientist
نمایش بیشتر5 850
مشترکین
-624 ساعت
-57 روز
-1230 روز
آرشیو پست ها
5 850
What will be the output of the following Python statement?
>>>"a"+"bc"
5 850
What will be the output of the following Python code snippet?
for i in [1, 2, 3, 4][::-1]: print (i)
5 850
What is the order of namespaces in which Python looks for an identifier?
5 850
What will be the output of the following Python function?
len(["hello",2, 4, 6])
5 850
Just one "amendment" on previous image, which is created by some training institute of IT.
it states that Python is Fast and one of our members already pointed out that as an issue.
Actually Python is not really fast and that is the reason why for example my company is not using it (even though it would be much easier to create all those machine learning models that we are working on in Python). But since we are getting 4000 user generated request per second in a peak time, it's just not possible to handle that with Python.
But in most other cases Python is perfect because it's easy to use and intuitive, and you can do much more with less lines of code compared to most of the other programming languages. For example simple reading from file in python is just
import pandas as pd
df = pd.read_csv('data.csv')
while in Java I would need much more lines of code.5 850
Which of the following is not a core data type in Python programming?
5 850
What will be the output of the following Python function?
min(max(False,-3,-4), 2,7)
5 850
Python Programming Exercises, 2022., gently explained
42 programming exercises on 160 pages with plain-English explanations
Exercise #1: Hello, World!
Exercise #2: Temperature Conversio
Exercise #3: Odd & Even
Exercise #4: Area & Volume
Exercise #5: Fizz Buzz
Exercise #6: Ordinal Suffix
Exercise #7: ASCII Table
Exercise #8: Read Write File
Exercise #9: Chess Square Color
Exercise #10: Find and Replace
Exercise #11: Hours, Minutes, Seconds
Exercise #12: Smallest & Biggest
Exercise #13: Sum & Product
Exercise #14: Average
Exercise #15: Median
Exercise #16: Mode
Exercise #17: Dice Roll
Exercise #18: Buy 8 Get 1 Free
Exercise #19: Password Generator
Exercise #20: Leap Year
And many more
5 850
Which of the following functions is a built-in function in python?
5 850
What will be the output of the following Python code?
l=[1, 0, 2, 0, 'hello', '', []] list(filter(bool, l))
اکنون در دسترس! پژوهش تلگرام ۲۰۲۵ — مهمترین بینشهای سال 
