Commit fec8ebe4 by BellCodeEditor

auto save

parent 054eb2dd
Showing with 39 additions and 0 deletions
name=input('啥名呀?')
pomer=ing(ingut('臂力'))
list_hero=['三',10,'一',21,'五',22,'长',29,'七',30]
for i in range(len(list_hero)):
if i%2==1 and list_hero[i]>=pomer:
list_hero.insert(i-1,name)
list_hero.insert(i,pomer)
break
print(list_hero)
dict_hero={"三",10,"一",21,"五",22,"长",29,"七",30}
print(dict_hero)
print(dict_hero['长'])
dict_hero["七"]=32
print(dict_hero)
dict_hero['十']=25
print(dict_hero)
dict= {'a':3,'b':4,'c':1,'d':3}
dict= {'a':3,'b':4,'c':1,'d':3}
k=input('你想买什么')
if k in dict:
print('6'+k+'4'+str(dict[k])+"6")
else:
print("tyfdtdtkdyufu")
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