Reversing User Input In Python Formatting