How To Use Reversed Function In Python