Some awesome python tricks, which can be very helpful sometimes. Sometimes they are fun
to learn :)
Cool Python Tricks
Reversing a string in Python
zip - Transpose a matrix
Divide a list into groups of n
Import this
Create Infinity and Negative Infinity
Need to know index while iterating the list ?
Reverse a list ?
I’ll add more tricks, once I’ll get some time. Awesome python and it’s lovely tricks can
amaze anybody :)