10 Python Basics You Should Know!
10 Must Know Python Basics and More Tips And Tricks.
#more
10 Must Know Python Basics and More Tips And Tricks.
For each item I have a detailed blog post on this website. The links to check them out are listed below.
- 1 How to remove elements in List while looping?
- 2 What does
if __name__ == "__main__"
do? - 3 How to check if a file or directory exists?
- 4 How to find the index of an item in a List?
- 5 How to execute a Program or System Command?
- 6 How to merge two Dictionaries?
- 7 How to create a nested directory?
- 8 What's the difference between classmethod and staticmethod?
- 9 What's the difference between
__str__
and__repr__
? - 10 How to concatenate two Lists?
FREE VS Code / PyCharm Extensions I Use
✅ Write cleaner code with Sourcery, instant refactoring suggestions: Link*
Python Problem-Solving Bootcamp
🚀 Solve 42 programming puzzles over the course of 21 days: Link*