Commit 8dc429c9 by BellCodeEditor

auto save

parent 220fe62b
Showing with 18 additions and 0 deletions
import turtle
a=input("red")
pen=turtle.pen()
pen.fillcolor(a)
pen.begin_fill()
for i in range(5):
pen.forward(200)
pen.right(144)
pen.end_fill()
turtle.done()
\ No newline at end of file
player=input("请输入(石头/剪刀/布)")
print("玩家出拳:"+player)
import random
computer=["石头","剪刀","布"]
c=random.choice(computer)
print("计算机出拳:"+c)
\ 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