python3 syntax compatability 01 -> 1