Reversing User Input In Python Visual Studio