Commit 66e2e485 by BellCodeEditor

auto save

parent 362c8664
Showing with 10 additions and 17 deletions
def new_input():
total = []
while True:
unit= input("请输入:")
if unit== 'q':
break
else:
try:
unit = int(unit)
except:
print("请输入价格:")
else:
total.append(unit)
print(total)
new_input()
\ No newline at end of file
a=int(input('第一个数字:'))
b=int(input('第二个数字:'))
c=int(input('第三个数字:'))
if a>c and a>b:
print(a)
if b>c and b>a:
print(b)
if c>a and c>b:
print(c)
\ 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