Commit 5d4c3431 by BellCodeEditor

save project

parent 39d53ff3
Showing with 8 additions and 3 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("出拳(石头/剪刀/布):")
...@@ -30,4 +30,9 @@ if player in list: ...@@ -30,4 +30,9 @@ if player in list:
else: else:
print("失败") print("失败")
else: else:
print("输入错误") print("输入错误")
\ No newline at end of file '''
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