Convert User Input String Python Functions Interview