1.07K subscribers
106 photos
1 video
38 files
179 links
Education is free for all.

Admin : @tcpl20
Download Telegram
Introduction to Python Programming
Course Notes

๐Ÿ“„ 164 pages

๐Ÿ”— Book link

#Python
โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–
Join @python_programming_resources for more

๐—˜๐—ก๐—๐—ข๐—ฌ ๐—Ÿ๐—˜๐—”๐—ฅ๐—ก๐—œ๐—ก๐—š๐Ÿ‘๐Ÿ‘
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

๐—˜๐—ก๐—๐—ข๐—ฌ ๐—Ÿ๐—˜๐—”๐—ฅ๐—ก๐—œ๐—ก๐—š๐Ÿ‘๐Ÿ‘
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

๐—˜๐—ก๐—๐—ข๐—ฌ ๐—Ÿ๐—˜๐—”๐—ฅ๐—ก๐—œ๐—ก๐—š๐Ÿ‘๐Ÿ‘
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

๐—˜๐—ก๐—๐—ข๐—ฌ ๐—Ÿ๐—˜๐—”๐—ฅ๐—ก๐—œ๐—ก๐—š๐Ÿ‘๐Ÿ‘
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

๐—˜๐—ก๐—๐—ข๐—ฌ ๐—Ÿ๐—˜๐—”๐—ฅ๐—ก๐—œ๐—ก๐—š๐Ÿ‘๐Ÿ‘
Python Notes

๐Ÿ“„ 40 pages

๐Ÿ”— Book link

#Python
โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–
Join @python_programming_resources for more

๐—˜๐—ก๐—๐—ข๐—ฌ ๐—Ÿ๐—˜๐—”๐—ฅ๐—ก๐—œ๐—ก๐—š๐Ÿ‘๐Ÿ‘
Python Strings Cheat Sheet

Join @python_programming_resources for more

๐—˜๐—ก๐—๐—ข๐—ฌ ๐—Ÿ๐—˜๐—”๐—ฅ๐—ก๐—œ๐—ก๐—š๐Ÿ‘๐Ÿ‘
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

๐—˜๐—ก๐—๐—ข๐—ฌ ๐—Ÿ๐—˜๐—”๐—ฅ๐—ก๐—œ๐—ก๐—š๐Ÿ‘๐Ÿ‘
Software Engine Usage

Join @python_programming_resources for more

๐—˜๐—ก๐—๐—ข๐—ฌ ๐—Ÿ๐—˜๐—”๐—ฅ๐—ก๐—œ๐—ก๐—š๐Ÿ‘๐Ÿ‘
Get all Off Campus Job alerts, internship updates, interview material regularly here ๐Ÿ‘‡

@jobsandinternshipsupdates

@jobsandinternshipsindia
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

๐—˜๐—ก๐—๐—ข๐—ฌ ๐—Ÿ๐—˜๐—”๐—ฅ๐—ก๐—œ๐—ก๐—š๐Ÿ‘๐Ÿ‘
Get all Off Campus Job alerts, internship updates, interview material regularly here ๐Ÿ‘‡

@jobsandinternshipsupdates

@jobsandinternshipsindia
Python_Notes_Basics_of_Python_programmin.pdf
83.8 KB
Python Notes Basics of Python programming

๐Ÿ“„ 29 pages

#Python
โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–
Join @python_programming_resources for more

๐—˜๐—ก๐—๐—ข๐—ฌ ๐—Ÿ๐—˜๐—”๐—ฅ๐—ก๐—œ๐—ก๐—š๐Ÿ‘๐Ÿ‘
CODECHEF Group for today's contest๐Ÿ‘‡

@codechef_group

@codechef_group

@codechef_group
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)

Jo
in @python_programming_resources for more

๐—˜๐—ก๐—๐—ข๐—ฌ ๐—Ÿ๐—˜๐—”๐—ฅ๐—ก๐—œ๐—ก๐—š๐Ÿ‘๐Ÿ‘
Features of Python

Join @python_programming_resources for more

๐—˜๐—ก๐—๐—ข๐—ฌ ๐—Ÿ๐—˜๐—”๐—ฅ๐—ก๐—œ๐—ก๐—š๐Ÿ‘๐Ÿ‘
Chaining Of Comparison Operators

Code snippet to copy:
n = 10
result = 1 < n < 20
print(result)
result = 1 > n <= 9
print(result)

Output:
True
False

Join @python_programming_resources for more

๐—˜๐—ก๐—๐—ข๐—ฌ ๐—Ÿ๐—˜๐—”๐—ฅ๐—ก๐—œ๐—ก๐—š๐Ÿ‘๐Ÿ‘
General python usage

Join @python_programming_resources for more

๐—˜๐—ก๐—๐—ข๐—ฌ ๐—Ÿ๐—˜๐—”๐—ฅ๐—ก๐—œ๐—ก๐—š๐Ÿ‘๐Ÿ‘
Python tricks and tips
Section 2: Strings
Lesson 8: Printing out multiple values of strings

Code snippet to copy:
print(โ€œonโ€*3+โ€™ โ€˜+โ€offโ€*2)

Join @python_programming_resources for more

๐—˜๐—ก๐—๐—ข๐—ฌ ๐—Ÿ๐—˜๐—”๐—ฅ๐—ก๐—œ๐—ก๐—š๐Ÿ‘๐Ÿ‘
๐—ง๐—ต๐—ผ๐˜€๐—ฒ ๐˜„๐—ฎ๐—ป๐˜ ๐˜๐—ผ ๐—ฝ๐—ฟ๐—ฎ๐—ฐ๐˜๐—ถ๐—ฐ๐—ฒ ๐—ฐ๐—ผ๐—บ๐—ฝ๐—ฒ๐˜๐—ถ๐˜๐—ถ๐˜ƒ๐—ฒ ๐—ฝ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ถ๐—ป๐—ด ๐—ผ๐—ฟ ๐˜„๐—ฎ๐—ป๐˜ ๐˜๐—ผ ๐—ฝ๐—ฎ๐—ฟ๐˜๐—ถ๐—ฐ๐—ถ๐—ฝ๐—ฎ๐˜๐—ฒ ๐—ถ๐—ป ๐—ฐ๐—ผ๐—บ๐—ฝ๐—ฒ๐˜๐—ถ๐˜๐—ถ๐˜ƒ๐—ฒ ๐—ฝ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ถ๐—ป๐—ด ๐—ฐ๐—ผ๐—ป๐˜๐—ฒ๐˜€๐˜๐˜€ ๐—ท๐—ผ๐—ถ๐—ป ๐˜๐—ต๐—ฒ๐˜€๐—ฒ ๐—ฏ๐—ฒ๐—น๐—ผ๐˜„ ๐—ด๐—ฟ๐—ผ๐˜‚๐—ฝ๐˜€๐Ÿ‘‡๐Ÿ‘‡.

๐Ÿญ. ๐—š๐—ฒ๐—ป๐—ฒ๐—ฟ๐—ฎ๐—น ๐——๐—ถ๐˜€๐—ฐ๐˜‚๐˜€๐˜€๐—ถ๐—ผ๐—ป ๐—š๐—ฟ๐—ผ๐˜‚๐—ฝ:

@cp_discussion_group

@cp_coding_grp

@allcodingsolution_official

๐Ÿฎ. ๐—Ÿ๐—˜๐—˜๐—ง๐—–๐—ข๐——๐—˜ ๐——๐—ถ๐˜€๐—ฐ๐˜‚๐˜€๐˜€๐—ถ๐—ผ๐—ป ๐—š๐—ฟ๐—ผ๐˜‚๐—ฝ:

@leetcode_cp

๐Ÿฏ. ๐—–๐—ข๐——๐—˜๐—™๐—ข๐—ฅ๐—–๐—˜๐—ฆ ๐——๐—ถ๐˜€๐—ฐ๐˜‚๐˜€๐˜€๐—ถ๐—ผ๐—ป ๐—š๐—ฟ๐—ผ๐˜‚๐—ฝ:

@codeforces_cp

๐Ÿฐ. ๐—–๐—ข๐——๐—˜๐—–๐—›๐—˜๐—™ ๐——๐—ถ๐˜€๐—ฐ๐˜‚๐˜€๐˜€๐—ถ๐—ผ๐—ป ๐—š๐—ฟ๐—ผ๐˜‚๐—ฝ:

@codechef_group

๐Ÿฑ. ๐—š๐—˜๐—˜๐—ž๐—ฆ๐—™๐—ข๐—ฅ๐—š๐—˜๐—˜๐—ž๐—ฆ ๐——๐—œ๐—ฆ๐—–๐—จ๐—ฆ๐—ฆ๐—œ๐—ข๐—ก ๐—š๐—ฟ๐—ผ๐˜‚๐—ฝ:

@gfg_discuss