1.函数input() 接收数据默认为文本型
>>> name = input("请输入姓名:")
请输入姓名:Master
>>> name
'Master'
2.转换input()接收的数据
>>> a = int(input())
2333
>>> a
2333
3.split()分隔
>>> 'Hello+World!'.split("+")
['Hello', 'World!'] #以"+"为分隔符 见+就划分
4.通过split()分隔实现input多字符传输
>>> a,b = input().split()
1 3
>>> a
'1'
>>> b
'3' #两个字符空格间隔 split分隔后分配
5.通过map
>>> a,b = map(int,input().split()) #map(“转换数据类型”,“需转换的数据”)
888 666
>>> a
888
>>> b
666