Commit 7c9048ef by BellCodeEditor

auto save

parent 370cf254
Showing with 17 additions and 0 deletions
color=input("想要什么颜色的星星呢:")
import turtle
pen=turtle.Pen()
pen.fillcolor(color)
pen.begin_fill()
for i in range(5):
pen.forward(100)
pen.right(144)
pen.end_fill()
turtle.done()
import random
quan=["石头","剪刀","布"]
jisuanji=random.choice(quan)
wanjia=input("请玩家出(石头/剪刀/布):")
print("玩家出拳为"+wanjia)
print("计算机出拳为"+jisuanji)
\ 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