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 730
المشتركون
+224 ساعات
-77 أيام
-1230 أيام
أرشيف المشاركات
5 732
Python Cheat Sheet sent few days ago was blurry so I hope it's better this time.
5 732
Which of the following is used to define a block of code in Python language?
5 732
Python tricks and tips
Section 2: Strings
Lesson 8: Printing out multiple values of strings
Code snippet to copy:
print(“on”*3+’ ‘+”off”*2)
5 732
Chaining Of Comparison Operators
Code snippet to copy:
n = 10
result = 1 < n < 20
print(result)
result = 1 > n <= 9
print(result)
5 732
Participate in free programming knowledge quiz league!
Hey guys, we in big data specialist community created first programming league! We will have quizzes every week, you will gain points by giving right answers, and after 10 weeks we will have our winner! This should be really fun and we should learn something new.
First round - General programming knowledge quiz
Quiz link: http://t.me/QuizBot?start=7FcREcyF
Tomorrow is next round starting and you will no longer be able to take first round so hurry up 😊
Here you can find more info and track leaderboards:
https://docs.google.com/spreadsheets/d/1wF9oHAI5KBtr9c85QLTKObClYpXwtRYouK5iAQs9z74/edit?usp=sharing
Join https://t.me/bigdataspecialist to get notified about next rounds. You can also find valuable programming learning materials here and ask any programming related questions you have.
5 732
Python tricks and tips
Section 6: Dictionary
Lesson 15: Merging multiple dictionaries
Code snippet to copy:
x = {'a': 1, 'b': 2}
y = {'b': 3, 'c': 4}
z = {**x, **y}
print(z)5 732
Python Notes Basics of Python programming
📄 29 pages
#Python
➖➖➖➖➖➖➖➖➖➖➖➖➖
Join @python_bds for more
5 732
Python tricks and tips
Section 6: Dictionary
Lesson 14: Iterating value pairs and dictionary keys
Code snippet to copy:
dict1={‘a’: 1, ‘b’: 2, ‘c’: 3, ‘d’: 4, ‘e’: 5, ‘f’: 6}
for a, b in dict1.iteritems():
print (‘{: {}’.format(a,b))
5 732
Python tricks and tips
Section 6: Dictionary
Lesson 13: Inverting the Dictionary
Code snippet to copy:
dict1={‘a’: 1, ‘b’: 2,‘c’: 3,‘d’: 4,‘e’: 5,‘f’: 6, ‘g’: 7}
dict2={v: k for k, v in dict1.items()}
print(dict2)
5 732
Python tricks and tips
Section 4: Operators
Lesson 12: Chaining comparison operators
Code snippet to copy:
a = 17
b = 21
c = 11
print(c < a)
print(a < b)
5 732
Python tricks and tips
Section 3: Matrix
Lesson 11: Transposing a matrix
Code snippet to copy:
mat = [[8, 9, 10], [11, 12, 13]]
new_mat=zip(*mat)
for row in new_mat:
print(row)
