Commit 4b149259 by BellCodeEditor

save project

parent dc70412a
Showing with 35 additions and 0 deletions
#total = []
#try:
#unit=int(input("请输入:"))
#except:
#print('输入整数')
#total.append(unit)
#print(total)
def a(x,y):
z=x+y
x=1
y=3
return z
print(return)
a(1,3)
\ No newline at end of file
total = []
try:
unit=int(input("请输入:"))
except:
print('输入整数')
total.append(unit)
print(total)
\ No newline at end of file
total = []
while True:
unit= input("请输入:")
if unit== 'q':
break
else:
total.append(unit)
print(total)
\ No newline at end of file
++ "b/\351\241\266\351\241\266\351\241\266\343\200\202py"
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