讨论数量:
如同一楼所说,因为你用input,那么print的内容需要你输入一些东西之后,方可显现。当前打印的只是你写在input内的提示语。
看input
的定义
input([prompt])
If the prompt argument is present, it is written to standard output without a trailing newline. The function then reads a line from input, converts it to a string (stripping a trailing newline), and returns that.
推荐文章: