Commit 105bc082 by BellCodeEditor

auto save

parent a0cbfb52
Showing with 21 additions and 2 deletions
# 玩家出拳
\ No newline at end of file
# 玩家出拳
import random
while True:
wanjia=input("请出拳(石头/剪刀/布):")
print("玩家出拳:"+wanjia)
list=["石头","剪刀","布"]
listt=random.choice(list)
print("计算机出拳:"+listt)
\ No newline at end of file
import turtle
pen=turtle.Pen()
pen.fillcolor("red")
pen.begin_fill()
pen.shape("turtle")
for i in range(5):
pen.forward(200)
pen.right(144)
pen.end_fill()
turtle.done()
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