password = raw_input("请输入密码:") print '您刚刚输入的密码是:', password
>>> a = input() 123 >>> a 123 >>> type(a) <type 'int'> >>> a = input() abc Traceback (most recent call last): File "<stdin>", line 1, in <module> File "<string>", line 1, in <module> NameError: name >>> a = input() "abc" >>> a 'abc' >>> type(a) <type 'str'> 'abc' is not defined >>> a 1 3 >>> a 4 >>> a "abc" "def" >>> a 'abcdef' >>> value = 100 >>> a = input() value >>> a 100