Commit f9722a6c by BellCodeEditor

auto save

parent fc99a839
Showing with 8 additions and 10 deletions
# 玩家出拳 #画一个五角星
# 玩家出拳 import turtle
import random pen=turtle.Pen()
player = input("请出拳(石头/剪刀/布):") for i in range(5):
print("玩家出拳:" + player) pen.forward(200)
import random pen.right(144)
list=["石头","剪刀","布"] pen.hideturtle()
computer=random.choice(list) turtle.done()
print("电脑出拳:"+computer)
\ 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