String Input Method In Python