文章目录 一、Python中的输入与输出 1、Python中的输入 1.1Python3.X和Python2.X的输入 1.2 输入数值比较大小 2、Python中的格式化输出 一、Python中的输入与输出 1、Python中的输入 1.1Python3.X和Python2.X的输入 Python3 input ( ) | python用内置函数input()实现标准输入,接收任意数据类型,Python3.X中没有raw_input()