Python Tricks
These are the Python useful tricks.
Swapping two variables
Show decimal number in hex, octal and binary form
Expand the string to array of chars.
Found value inside multiple variables
Function returning tuple
Reverse the order of elements
Get just the unique values in a list
…
tags: tricks & category: python