这么为什么使用t不重复,用str会乱
L = ['Bart', 'Lisa', 'Adam'] # str = "hello" # for t in L: # t=str+t # print (t) # d={ # 'Adam':95, # 'Lisa':85, # 'Bart':59
L = ['Bart', 'Lisa', 'Adam'] # str = "hello" # for t in L: # t=str+t # print (t) # d={ # 'Adam':95, # 'Lisa':85, # 'Bart':59
2019-08-16
举报