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 731
Hi folks,
For all you who have been here for a long time, you probably noticed that after certain period of inactivity, this channel started posting content again. First owner of this channel (a friend of mine, admin of AI India) didn't have enough time to take care of it so he transferred ownership to me. I am 27 year old software engineer, living in Europe, owner and founder of @bigdataspecialist channel (and many more, i will add them in comment if somebody is interested into checking them).
I started posting interactive content, with one of my employees helping me with it since i don't have too much free time. I really hope you like it 😉
I would like to inform you that we are having giveaway tomorrow in my main channel (@bigdataspecialist). We are buying you paid course of your choice. Check last post in that channel for more info.
That's it, I really hope you like new content, feel free to reach me if you need anything and also write any suggestions what would you like to see in this or other channel of mine in comments. Thank you all and have a nice day.
5 731
Python tricks and tips
Section 2: Strings
Lesson 10: Checking if two words are anagrams
Code snippet to copy:
from collections import Counter
def is_anagram(str1, str2):
return Counter(str1) == Counter(str2)
print(is_anagram(‘taste’, ‘state))
print(is_anagram(‘beach’, ‘peach’))
5 731
Python tricks and tips
Section 2: Strings
Lesson 9: Creating a single string
Code snippet to copy:
a = [“I”, “am”, “not”, “available”]
print(“ “.join(a))
5 731
Introduction to Python Programming
Course Notes
📄 164 pages
🔗 Book link
#Python
➖➖➖➖➖➖➖➖➖➖➖➖➖
Join @python_bds for more
5 731
Python tricks and tips
Section 2: Strings
Lesson 6: Reversing the string
Code snippet to copy:
a=”python”
print(“Reverse is”, a[::-1])
5 731
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 731
Python tricks and tips
Section 2: Strings
Lesson 7: Splitting the string
Code snippet to copy:
a="Python is the language of the future"
b=a.split()
print(b)
5 731
Python tricks and tips
Section 1: Lists
Lesson 5: Analyzing the most frequent on the list
Code snippet to copy:
a = [1, 2, 3, 4, 2, 2, 3, 1, 4, 4, 4]
print(max(set(a), key = a.count))
5 731
Python tricks and tips
Section 1: Lists
Lesson 4: Negative indexing lists
Code snippet to copy:
a = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
a[-3:-1]
5 731
Python tricks and tips
Section 1: Lists
Lesson 3: Combining different lists
Code snippet to copy:
a=[‘a’,’b’,’c’,’d’]
b=[‘e’,’f’,’g’,’h’]
for x, y in zip(a, b):
print(x,y)
5 731
Python Notes for Professionals book
📄 816 pages
🔗 Book link
#Python
➖➖➖➖➖➖➖➖➖➖➖➖➖
Join @python_bds for more
5 731
Python tricks and tips
Section 1: Lists
Lesson 2: Flatten a list
Code snippet to copy:
import itertools
a = [[1, 2], [3, 4], [5, 6]]
b = list(itertools.chain.from_iterable(a))
print(b)
