Python encode (20/21)

Python encode