Python Learning
Kanalga Telegramβda oβtish
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
Ko'proq ko'rsatish5 730
Obunachilar
+224 soatlar
-77 kun
-1230 kun
Postlar arxiv
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 Notes
π 40 pages
π Book link
#Python
βββββββββββββ
Join @python_bds for more
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)
