Commit da4ce0d7 by BellCodeEditor

save project

parent b8a0abaf
Showing with 31 additions and 0 deletions
# yearold=input('输入生日:')
# if not bool(yearold):
# print("输入才能继续")
# else:
# print('您的生日为:%s'%yearold)
# a=2
# print(print()(a))
def a (b,c):
print((b+c)*2)
a(20,10)
# def food(a):
# b="番茄"
# print(b+'炒'+a)
# food('鸡蛋')
#
import turtle
def a (b,c,d):
turtle.forward(b)
turtle.left(120)
turtle.forward(c)
turtle.left(60)
turtle.forward(d)
turtle.left(60)
turtle.forward(c)
turtle.left(120)
turtle.forward(30)
a(100,50,80)
turtle.done()
\ 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