Reverse Inbuilt Function In Python