Commit c0a0803d by BellCodeEditor

save project

parent b1f1f589
a=int(input("请输入数字:"))
a=int(input("请输入数字:"))
if a==1 or a==3 or a==5:
print("NO")
elif a>7:
print("输入错误,请输入1~7之间的数字")
else:
print("YES")
\ No newline at end of file
++ "b/\347\210\261\345\277\203.py/\347\254\254\344\270\203\351\242\230.py"
a=[]
a=[]
while True:
b=input("请输入菜品价格:")
if b=="q":
break
else:
a.append(b)
print(a)
\ No newline at end of file
++ "b/\347\210\261\345\277\203.py/\347\254\254\344\271\235\351\242\230"
++ "b/\347\210\261\345\277\203.py/\347\254\254\344\271\235\351\242\230.py"
\ No newline at end of file
++ "b/\347\210\261\345\277\203.py/\347\254\254\345\205\253\351\242\230.py"
++ "b/\347\210\261\345\277\203.py/\347\254\254\345\205\255\351\242\230.py"
++ "b/\347\210\261\345\277\203.py/\347\254\254\345\233\233\351\242\230.py"
a=int(input("请输入A:"))
a=int(input("请输入A:"))
b=int(input("请输入B:"))
c=a+b
print(c)
\ No newline at end of file
for i in range(4):
for i in range(4):
for j in range(0, 4 - i):
print(end=" ")
for k in range(4 - i, 4):
print("x", end=" ")
print("")
a=[] a=[]
a=[] a=[]
While True: while True:
b=input("请输入菜的价格:") b=input("请输入菜的价格:")
if a=='q': if b=='q':
break break
else: else:
jiagedan.append(a) a.append(b)
print(jiagedan) print(a)
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