Commit a61542f1 by BellCodeEditor

save project

parent 924bb1ba
Showing with 13 additions and 5 deletions
dict={'可口可乐':3,'旺仔牛奶':4,'农夫山泉':1,'辣条':3,'巴西烤肉':2,'果冻':4,'乐事':5,'奥利奥':10,'巧克力':6}
dict.pop('农夫山泉')
print(dict))
\ No newline at end of file
a="bfggggggg"
# a={'F':70,'C':67,'h':104,'i':105,'s':115}
a="bfggggggg"
b=a[5,9]
print(b)
\ No newline at end of file
# a={'F':70,'C':67,'h':104,'i':105,'s':115}
# print(a['C'])
student={'John':10,'Sam':11,'Lily':9,'Anna':10,'Daming':10,'Helen':12}
student['Lily']=10
print(student['Lily'])
student['小红']=11
print(student)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment