Convert User Input String Python Methods