TGViewer
Channel Public Channel
Python

Python

@python_programming_resources

Education is free for all.

Admin : @tcpl20
Subscribers
1.26K
Photos
130
Videos
1
Links
200

Showing posts older than #233 ยท Back to latest

Older Posts 20 shown
Post #232 334
Python Strings Cheat Sheet

Join @python_programming_resources for more

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

๐Ÿ“„ 40 pages

๐Ÿ”— Book link

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

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

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

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

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

๐—˜๐—ก๐—๐—ข๐—ฌ ๐—Ÿ๐—˜๐—”๐—ฅ๐—ก๐—œ๐—ก๐—š๐Ÿ‘๐Ÿ‘
Post #226 327
Introduction to Python Programming
Course Notes

๐Ÿ“„ 164 pages

๐Ÿ”— Book link

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

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

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

@cp_discussion_group

@cp_coding_grp

@allcodingsolution_official

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

@leetcode_cp

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

@codeforces_cp

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

@codechef_group

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

@gfg_discuss
Post #221 263
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

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

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

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

@cp_discussion_group

@cp_coding_grp

@allcodingsolution_official

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

@leetcode_cp

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

@codeforces_cp

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

@codechef_group

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

@gfg_discuss
Post #216 301
Pandas Cheat Sheet

Join @python_programming_resources for more

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

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

@cp_discussion_group

@cp_coding_grp

@allcodingsolution_official

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

@leetcode_cp

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

@codeforces_cp

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

@codechef_group

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

@gfg_discuss
Post #207 288
๐—”๐—ป๐˜†๐—ผ๐—ป๐—ฒ ๐˜„๐—ต๐—ผ ๐˜„๐—ฎ๐—ป๐˜ ๐˜๐—ผ ๐—ฑ๐—ถ๐˜€๐—ฐ๐˜‚๐˜€๐˜€ ๐—ฎ๐—ฏ๐—ผ๐˜‚๐˜ ๐—”๐—ฝ๐˜๐—ถ๐˜๐˜‚๐—ฑ๐—ฒ, ๐—ฅ๐—ฒ๐—ฎ๐˜€๐—ผ๐—ป๐—ถ๐—ป๐—ด, ๐—ฉ๐—ฒ๐—ฟ๐—ฏ๐—ฎ๐—น ๐—”๐—ฏ๐—ถ๐—น๐—ถ๐˜๐˜† ๐—ฎ๐—ป๐—ฑ ๐——๐—ฎ๐˜๐—ฎ ๐—œ๐—ป๐˜๐—ฒ๐—ฟ๐—ฝ๐—ฟ๐—ฒ๐˜๐—ฎ๐˜๐—ถ๐—ผ๐—ป ๐—ฎ๐—ป๐—ฑ ๐˜„๐—ฎ๐—ป๐˜ ๐—ณ๐—ฟ๐—ฒ๐—ฒ ๐˜€๐˜๐˜‚๐—ฑ๐˜† ๐—บ๐—ฎ๐˜๐—ฒ๐—ฟ๐—ถ๐—ฎ๐—น๐˜€ ๐—ท๐—ผ๐—ถ๐—ป ๐˜๐—ต๐—ฒ ๐—ฏ๐—ฒ๐—น๐—ผ๐˜„ ๐—ฟ๐—ฒ๐˜€๐—ฝ๐—ฒ๐—ฐ๐˜๐—ถ๐˜ƒ๐—ฒ ๐—ด๐—ฟ๐—ผ๐˜‚๐—ฝ๐˜€.

๐Ÿญ. ๐—”๐—ฝ๐˜๐—ถ๐˜๐˜‚๐—ฑ๐—ฒ:

@aptitude_official

๐Ÿฎ. ๐—ฅ๐—ฒ๐—ฎ๐˜€๐—ผ๐—ป๐—ถ๐—ป๐—ด:

@reasoning_official

๐Ÿฏ. ๐—ฉ๐—ฒ๐—ฟ๐—ฏ๐—ฎ๐—น ๐—”๐—ฏ๐—ถ๐—น๐—ถ๐˜๐˜†:

@verbal_ability_official

๐Ÿฐ. ๐——๐—ฎ๐˜๐—ฎ ๐—œ๐—ป๐˜๐—ฒ๐—ฟ๐—ฝ๐—ฟ๐—ฒ๐˜๐—ฎ๐˜๐—ถ๐—ผ๐—ป:

@data_interpratation

๐—ก.๐—•:
๐—ง๐—ต๐—ผ๐˜€๐—ฒ ๐˜„๐—ต๐—ผ ๐—ฎ๐—ฟ๐—ฒ ๐—ถ๐—ป๐˜๐—ฒ๐—ฟ๐—ฒ๐˜€๐˜๐—ฒ๐—ฑ ๐—ฎ๐—ฏ๐—ผ๐˜‚๐˜ ๐—–๐—ผ๐—บ๐—ฝ๐—ฒ๐˜๐—ถ๐˜๐—ถ๐˜ƒ๐—ฒ ๐—˜๐˜…๐—ฎ๐—บ๐—ถ๐—ป๐—ฎ๐˜๐—ถ๐—ผ๐—ป๐˜€ ๐—ผ๐—ป๐—น๐˜† ๐˜๐—ต๐—ฒ๐˜† ๐˜€๐—ต๐—ผ๐˜‚๐—น๐—ฑ ๐—ท๐—ผ๐—ถ๐—ป.
Post #205 268
The most popular programming languages

Join @python_programming_resources for more

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

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

@cp_discussion_group

@cp_coding_grp

@allcodingsolution_official

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

@leetcode_cp

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

@codeforces_cp

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

@codechef_group
Post #202 301
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]


Join @python_programming_resources for more

๐—˜๐—ก๐—๐—ข๐—ฌ ๐—Ÿ๐—˜๐—”๐—ฅ๐—ก๐—œ๐—ก๐—š๐Ÿ‘๐Ÿ‘
Older posts โ†’
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook โ†’Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 โ†’