5 intermediate level Python tricks you maybe didn’t know
Published in
5 min readAug 18, 2021
Let’s make our Python code better!
This is a collection of some useful code constructions which can help to make your Python script look cleaner and more readable in certain cases. The intention of this collection is to be on a little bit more advanced level than “reversing a string”, “swapping two numbers” or similar basic tricks.