Commit e4861889 by BellCodeEditor

save project

parent dc70412a
Showing with 24 additions and 0 deletions
def q():
t=[]
while True:
a=input('please:')
if a=='q':
break
else:
try:
b=int(a)
except:
print( 'dnra hmsu7d9kcdg')
else:
t.append(a)
finally:
print('*'*30)
return a
def sum(b):
count=0
for i in b:
count=count+i
return count
price=s()
pay=sum(int(price))
print(' ktg cf'+str(pay)+'hcfehw')
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