line="101 : johnny 'wave-boy' jones:usa:8.32:fish:21"
s={}
(identity,name,country,average,boardtype,age)=line.split()
print(identity)
我的输出是:
Traceback (most recent call last):
File "<pyshell#9>", line 1, in <module>
(identity,name,country,average,boardtype,age)=line.split()
ValueError: need more than 5 values to unpack