Commit 523e11ce by BellCodeEditor

auto save

parent 2bbd5231
Showing with 17 additions and 4 deletions
......@@ -10,11 +10,11 @@ today_menu={'前菜':{'熏鲢鱼':20,'生蚝':20,'面包':10},
'甜品':{'可丽露':20,'优格吐司':15,'蓝莓松饼':20}
}
for k,v in today_menu.items():
print("今日"+k+"有:")
for m,n in today_menu.items():
print("今日"+m+"有:")
for m in v:
print(m,end=(" "))
for a in n:
print(a,end=(" "))
print()
\ No newline at end of file
name=input("mingzi")
power=input("bili")
df=["不会",23,"几乎",56]
for i in range(len(df)):
if i%2==1 and df[i]>=int(power):
df.insert(i-1,name)
df.insert(i,power)
break
print(df)
\ 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