Commit a5f86ddc by BellCodeEditor

save project

parent 8ffe91d1
import func2
e=func2.a_input()
f=func2.sum(e)
print(f)
\ No newline at end of file
......@@ -19,7 +19,7 @@ def sum(d):
for i in d:
c=c+i
return c
t1=a_input()
pay=sum(t1)
print(pay)
print('您一共消费'+str(pay)+'元')
\ No newline at end of file
#t1=a_input()
#pay=sum(t1)
#print(pay)
#print('您一共消费'+str(pay)+'元')
\ 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