Commit 5f4ac747 by BellCodeEditor

save project

parent 69e4a767
Showing with 6 additions and 23 deletions
def new_input():
a=[]
while True:
a=input("ni hao")
if a=="q":
break
else:
try:
a=int(a)
except:
print("请")
else:
t.append(a)
return a()
def h(monoy):
co=0
for i in monoy:
co=co+i
return co
i=new_input()
m=h(i)
print(m)
with open ("C:\Users\123\Desktop\新建文件夹""r""utf-8")as jj:
i=jj.read lines()
for i in i:
data=i.split()
print(data[0])
\ 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