The quieter you become,the more you are able to hear.
实现在一行Python代码中读取多个输入值:
123456789
>>> a,b,c = input().split() 2 3 5>>> a'2'>>> b'3'>>> c'5'>>>
a,b,c是三个输入值,类型是字符串
如果要a,b,c中保存类型是整数,则:
>>> a,b,c = map(int, input().split())2 3 5>>> a2>>> b3>>> c5>>>