Commit 4c8c6802 by BellCodeEditor

save project

parent f5bda895
Showing with 23 additions and 2 deletions
......@@ -8,7 +8,7 @@
return num + temp
result = sum_numbers(100)
print(result)
'''
def func(n):
if n <= 2:
return 1
......@@ -16,8 +16,29 @@ def func(n):
value = func(n-1) + func(n-2)
return value
result = func(6)
if int(result) >= 20:
#if int(result) >= 20:
print(result)
'''
import turtle as t
pen = t.Turtle()
pen.color('sienna')
w = t.Screen()
w.bgcolor('wheat')
pen.left(90)
pen.up()
pen.backward(150)
pen.down()
pen.forward(100)
pen.right(30)
pen.forward(50)
pen.up()
pen.backward(30)
pen.left(60)
pen.down()
pen.forward(50)
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