Commit 393a7dad by BellCodeEditor

auto save

parent d3571584
import turtle
turtle.write("dsfadsf\nsdfsdf",font=("Times",50,"normal"))
turtle.done()
\ No newline at end of file
...@@ -5,6 +5,16 @@ def new_cq(): ...@@ -5,6 +5,16 @@ def new_cq():
if unit== 'q': if unit== 'q':
break break
else: else:
total.append(unit) try:
print(total) unit=int(unit)
new_cq() except:
\ No newline at end of file print("输入错误!")
else:
total.append(unit)
return total
def sb(b):
a=sum(b)
return a
import func
date = func.new_cq()
n=func.sb(date)
print(n)
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