String Input Method In Python Example Problem