列表2

l=[['Apple','Google','Microsoft'],\
   ['Java','Python','Ruby','PHP'],\
   ['Adam','Bart','Lisa']\
   ]

names=['Michael','Bob','Tracy']
print(names[1])
scores=[95,75,85]

d={'Michael':95,'Bob':75,'Tracy':85}
d['Bob']=88
d['Rose']=
print(d['Bob'])





att={'name':'201709090013刘单','lateTimes':0'onTimes':8,'workTimes':7}
print(att['workTimes'])
  File "E:/buguizheliubianxing/不规则六边形.py", line 12
    d['Rose']=
             ^
SyntaxError: invalid syntax

Process finished with exit code 1

 

posted @ 2018-06-04 16:40  qwertyuiopasdf  阅读(201)  评论(0编辑  收藏  举报