6-1 人--创建一个人的信息(字典)
person={"first_name":"Gao",
person={"first_name":"Gao",
"last_name":"Erji",
"age":233,
"city":"Guangzhou"}
6-6 调查
利用教材所给列表:
favorite_language={
"jen":"python",
'sarah':'c',
'edward':'ruby'.
'phil':'python}
peoples={'LiuZui','GaoErji','jen'}
for people in peoples:
if people in favorite_language.keys():
print("Thanks for your join! "+people+'\n')
else:
print("If you can join us, we will be grateful! "+people+'\n')
6-7:人们
person={"first_name":"Gao",