Commit 61035517 by BellCodeEditor

save project

parent c2305d8d
Showing with 26 additions and 11 deletions
""" import random
请使用turtle模块画出五角星
""" player = input("石头","剪刀","布")
import turtle print(player)
pen=turtle.Pen()
for i in range(5): list = ["石头","剪刀","布"]
pen.right(144) computer = random.choice(list)
pen.forward(200) print(computer)
pen.hideturtle()
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