Python
前往频道在 Telegram
Get amazing learning resources for all these courses 1. Python 2. Web development 3. Java 4. App development 5. Machine learning 6. Data structures 7. Algorithms 8. Python related projects 9. Automation with PYTHON 10. Artificial intelligence
显示更多未指定国家未指定类别
1 099
订阅者
无数据24 小时
无数据7 天
-530 天
帖子存档
1 099
Get all Off Campus Job alerts, internship updates, interview material regularly here 👇
@jobsandinternshipsupdates
@jobsandinternshipsindia
1 099
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))
Join @python_programming_resources for more
𝗘𝗡𝗝𝗢𝗬 𝗟𝗘𝗔𝗥𝗡𝗜𝗡𝗚👍👍
1 099
Get all Off Campus Job alerts, internship updates, interview material regularly here 👇
@jobsandinternshipsupdates
@jobsandinternshipsindia
1 099
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)
Join @python_programming_resources for more
𝗘𝗡𝗝𝗢𝗬 𝗟𝗘𝗔𝗥𝗡𝗜𝗡𝗚👍👍
1 099
Python Notes
📄 40 pages
🔗 Book link
#Python
➖➖➖➖➖➖➖➖➖➖➖➖➖
Join @python_programming_resources for more
𝗘𝗡𝗝𝗢𝗬 𝗟𝗘𝗔𝗥𝗡𝗜𝗡𝗚👍👍
1 099
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)
Join @python_programming_resources for more
𝗘𝗡𝗝𝗢𝗬 𝗟𝗘𝗔𝗥𝗡𝗜𝗡𝗚👍👍
1 099
Python Frameworks and Libraries
Django is the most popular framework among Python developers. No surprise here, seeing how Web development is so popular among Python users. Interestingly, 43% of respondents are using IPython, which clearly shows it’s being used not only for scientific purposes, but for general software development as well.
A large number of respondents also specified Flask as their framework of choice.
Join @python_programming_resources for more
𝗘𝗡𝗝𝗢𝗬 𝗟𝗘𝗔𝗥𝗡𝗜𝗡𝗚👍👍
1 099
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’))
Join @python_programming_resources for more
𝗘𝗡𝗝𝗢𝗬 𝗟𝗘𝗔𝗥𝗡𝗜𝗡𝗚👍👍
1 099
Python tricks and tips
Section 2: Strings
Lesson 8: Creating a single string
Code snippet to copy:
a = [“I”, “am”, “not”, “available”]
print(“ “.join(a))
Join @python_programming_resources for more
𝗘𝗡𝗝𝗢𝗬 𝗟𝗘𝗔𝗥𝗡𝗜𝗡𝗚👍👍1 099
Introduction to Python Programming
Course Notes
📄 164 pages
🔗 Book link
#Python
➖➖➖➖➖➖➖➖➖➖➖➖➖
Join @python_programming_resources for more
𝗘𝗡𝗝𝗢𝗬 𝗟𝗘𝗔𝗥𝗡𝗜𝗡𝗚👍👍
1 099
𝗧𝗵𝗼𝘀𝗲 𝘄𝗮𝗻𝘁 𝘁𝗼 𝗽𝗿𝗮𝗰𝘁𝗶𝗰𝗲 𝗰𝗼𝗺𝗽𝗲𝘁𝗶𝘁𝗶𝘃𝗲 𝗽𝗿𝗼𝗴𝗿𝗮𝗺𝗺𝗶𝗻𝗴 𝗼𝗿 𝘄𝗮𝗻𝘁 𝘁𝗼 𝗽𝗮𝗿𝘁𝗶𝗰𝗶𝗽𝗮𝘁𝗲 𝗶𝗻 𝗰𝗼𝗺𝗽𝗲𝘁𝗶𝘁𝗶𝘃𝗲 𝗽𝗿𝗼𝗴𝗿𝗮𝗺𝗺𝗶𝗻𝗴 𝗰𝗼𝗻𝘁𝗲𝘀𝘁𝘀 𝗷𝗼𝗶𝗻 𝘁𝗵𝗲𝘀𝗲 𝗯𝗲𝗹𝗼𝘄 𝗴𝗿𝗼𝘂𝗽𝘀👇👇.
𝟭. 𝗚𝗲𝗻𝗲𝗿𝗮𝗹 𝗗𝗶𝘀𝗰𝘂𝘀𝘀𝗶𝗼𝗻 𝗚𝗿𝗼𝘂𝗽:
@cp_discussion_group
@cp_coding_grp
@allcodingsolution_official
𝟮. 𝗟𝗘𝗘𝗧𝗖𝗢𝗗𝗘 𝗗𝗶𝘀𝗰𝘂𝘀𝘀𝗶𝗼𝗻 𝗚𝗿𝗼𝘂𝗽:
@leetcode_cp
𝟯. 𝗖𝗢𝗗𝗘𝗙𝗢𝗥𝗖𝗘𝗦 𝗗𝗶𝘀𝗰𝘂𝘀𝘀𝗶𝗼𝗻 𝗚𝗿𝗼𝘂𝗽:
@codeforces_cp
𝟰. 𝗖𝗢𝗗𝗘𝗖𝗛𝗘𝗙 𝗗𝗶𝘀𝗰𝘂𝘀𝘀𝗶𝗼𝗻 𝗚𝗿𝗼𝘂𝗽:
@codechef_group
𝟱. 𝗚𝗘𝗘𝗞𝗦𝗙𝗢𝗥𝗚𝗘𝗘𝗞𝗦 𝗗𝗜𝗦𝗖𝗨𝗦𝗦𝗜𝗢𝗡 𝗚𝗿𝗼𝘂𝗽:
@gfg_discuss
1 099
Python tricks and tips
Section 2: Strings
Lesson 7: Reversing the string
Code snippet to copy:
a=”python”
print(“Reverse is”, a[::-1])
Join @python_programming_resources for more
𝗘𝗡𝗝𝗢𝗬 𝗟𝗘𝗔𝗥𝗡𝗜𝗡𝗚👍👍1 099
Python tricks and tips
Section 2: Strings
Lesson 6: Splitting the string
Code snippet to copy:
a="Python is the language of the future"
b=a.split()
print(b)
Join @python_programming_resources for more
𝗘𝗡𝗝𝗢𝗬 𝗟𝗘𝗔𝗥𝗡𝗜𝗡𝗚👍👍1 099
𝗧𝗵𝗼𝘀𝗲 𝘄𝗮𝗻𝘁 𝘁𝗼 𝗽𝗿𝗮𝗰𝘁𝗶𝗰𝗲 𝗰𝗼𝗺𝗽𝗲𝘁𝗶𝘁𝗶𝘃𝗲 𝗽𝗿𝗼𝗴𝗿𝗮𝗺𝗺𝗶𝗻𝗴 𝗼𝗿 𝘄𝗮𝗻𝘁 𝘁𝗼 𝗽𝗮𝗿𝘁𝗶𝗰𝗶𝗽𝗮𝘁𝗲 𝗶𝗻 𝗰𝗼𝗺𝗽𝗲𝘁𝗶𝘁𝗶𝘃𝗲 𝗽𝗿𝗼𝗴𝗿𝗮𝗺𝗺𝗶𝗻𝗴 𝗰𝗼𝗻𝘁𝗲𝘀𝘁𝘀 𝗷𝗼𝗶𝗻 𝘁𝗵𝗲𝘀𝗲 𝗯𝗲𝗹𝗼𝘄 𝗴𝗿𝗼𝘂𝗽𝘀👇👇.
𝟭. 𝗚𝗲𝗻𝗲𝗿𝗮𝗹 𝗗𝗶𝘀𝗰𝘂𝘀𝘀𝗶𝗼𝗻 𝗚𝗿𝗼𝘂𝗽:
@cp_discussion_group
@cp_coding_grp
@allcodingsolution_official
𝟮. 𝗟𝗘𝗘𝗧𝗖𝗢𝗗𝗘 𝗗𝗶𝘀𝗰𝘂𝘀𝘀𝗶𝗼𝗻 𝗚𝗿𝗼𝘂𝗽:
@leetcode_cp
𝟯. 𝗖𝗢𝗗𝗘𝗙𝗢𝗥𝗖𝗘𝗦 𝗗𝗶𝘀𝗰𝘂𝘀𝘀𝗶𝗼𝗻 𝗚𝗿𝗼𝘂𝗽:
@codeforces_cp
𝟰. 𝗖𝗢𝗗𝗘𝗖𝗛𝗘𝗙 𝗗𝗶𝘀𝗰𝘂𝘀𝘀𝗶𝗼𝗻 𝗚𝗿𝗼𝘂𝗽:
@codechef_group
𝟱. 𝗚𝗘𝗘𝗞𝗦𝗙𝗢𝗥𝗚𝗘𝗘𝗞𝗦 𝗗𝗜𝗦𝗖𝗨𝗦𝗦𝗜𝗢𝗡 𝗚𝗿𝗼𝘂𝗽:
@gfg_discuss
