Commit e5203bdf by BellCodeEditor

auto save

parent a1fe954d
Showing with 16 additions and 3 deletions
...@@ -11,9 +11,20 @@ def _shubiao(): ...@@ -11,9 +11,20 @@ def _shubiao():
print('qing chong xin shu ru yi ge shu zhi') print('qing chong xin shu ru yi ge shu zhi')
else: else:
total.append(unit) total.append(unit)
print('-'*40) finally:
print(total) print('-'*30)
_shubiao() return total
def sum(lll):
c=0
for i in lll:
c=c+i
return c
d=_shubiao()
a=sum(d)
print(str(a))
# try: # try:
# age = int(input('how old are you?')) # age = int(input('how old are you?'))
# except: # except:
......
with open(r'C:\Users\Administrator\Desktop\sb.t','r',encoding='utf-8') as a:
\ 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