Commit 7c8c972f by BellCodeEditor

save project

parent 3acef265
Showing with 11 additions and 11 deletions
import turtle if player==computer
ink = input("什么颜色?") print("平局")
pen = turtle.pen elif plaver=="石头" and computer=="剪刀":
pen .firrcolor(ink) print("你赢了")
pen .pegin_fill elif plaver=="剪刀" and computer=="布":
for i in range(5): print("你赢了")
pen.forward(200) elif plaver=="布" and computer=="石头":
pen.right(144) print("你赢了")
pen.eng_fill() elis
turtle.done() print("你输了")
\ No newline at end of file \ 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