Commit 5d4c3431 by BellCodeEditor

save project

parent 39d53ff3
Showing with 7 additions and 1 deletions
...@@ -11,7 +11,7 @@ for i in range(5): #重复执行5次 ...@@ -11,7 +11,7 @@ for i in range(5): #重复执行5次
pen.right(144) #向右移动144度,注意这里的参数一定不能变 pen.right(144) #向右移动144度,注意这里的参数一定不能变
pen.end_fill() #结束填充红色 pen.end_fill() #结束填充红色
turtle.done() turtle.done()
'''
player = input("出拳(石头/剪刀/布):") player = input("出拳(石头/剪刀/布):")
...@@ -31,3 +31,8 @@ if player in list: ...@@ -31,3 +31,8 @@ if player in list:
print("失败") print("失败")
else: else:
print("输入错误") print("输入错误")
'''
import turtle
pen = turtle.Pen()
pen.write("诺依,\nturtle真好用\nshab",font = ("Times",50,"normal") )
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