Commit 247c14af by BellCodeEditor

save project

parent c6a0ec2d
Showing with 5 additions and 4 deletions
# 上节课你是这样绘制的五角星👇: # 上节课你是这样绘制的五角星👇:
# 这节课你可以利用新学的知识自定义五角星的颜色么? # 这节课你可以利用新学的知识自定义五角星的颜色
import turtle import turtle
rcq = input("你想出什么拳:") rcq = input("你想出什么拳:")
jcp = randow(0,2) jcp = randow(0,2)
...@@ -13,16 +13,16 @@ if rcp == "0": ...@@ -13,16 +13,16 @@ if rcp == "0":
if rcp == "1": if rcp == "1":
if jcq == 1: if jcq == 1:
print("平手!") print("平手!")
elif jcq == 0 elif jcq == 2
print("机器人赢!") print("机器人赢!")
elif: elif:
print("玩家赢!") print("玩家赢!")
if rcp == "2": if rcp == "2":
if jcq == 2: if jcq == 2:
print("平手!") print("平手!")
elif jcq == 1 elif jcq == 0
print("机器人赢!") print("机器人赢!")
elif: elif:
print("玩家赢!") print("玩家赢!")
input()
\ 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