python,输入input('enter your name:') 为啥运行后会输出字符串呢

看看帮助文档,就会明白The prompt string, if given, is printed to standard output without a
trailing newline before reading input.
python,输入input('enter your name:') 为啥运行后会输出字符串呢
【python,输入input('enter your name:') 为啥运行后会输出字符串呢】


■网友
你就记住input函数返回的是一个字符串就可以了。


    推荐阅读