作业python
mydiction=dict((('f',70),('i',105),('s',115),('h',104)('s',115)))报错Traceback (most recent call last):
File "<pyshell#149>", line 1, in <module>
mydiction=dict((('f',70),('i',105),('s',115),('h',104)('s',115)))
TypeError: 'tuple' object is not callable 粗心了,少了个逗号:
mydiction=dict((('f',70),('i',105),('s',115),('h',104),('s',115)))
页:
[1]