Python Coding
Python Coding

@clcoding

10 Tweets 57 reads Jan 10, 2023
15 Python scripts that help you write code faster
๐Ÿงต:
1. Finding Unique Elements in a String
2. Using the Title Case (First Letter Caps)
3. Reversing a String
4. Printing a String or a List n Times
5. Combining a List of Strings Into a Single String
6. Swap Values Between Two Variables
7. Split a String Into a List of Substrings
8. List Comprehension
9. Check If a Given String Is a Palindrome or Not
10. Using Enumerate to Get Index/Value Pairs
11. Find Whether Two Strings are Anagrams
12. Using the try-except-else Block
13. Frequency of Elements in a List
14. Check the Memory Usage of an Object
15. Sampling From a List

Loading suggestions...