String Input Method In Python Definition