Commit a7d575d3 by BellCodeEditor

auto save

parent ea6a024d
Showing with 26 additions and 4 deletions
import turtle
import random
while True: while True:
import random
# 玩家出拳 # 玩家出拳
list=["石头","剪刀","布"] list=["石头","剪刀","布"]
player=input("gkd谢谢(石头剪刀或者布):\n") player=input("gkd谢谢(石头剪刀或者布):\n")
...@@ -8,11 +9,27 @@ while True: ...@@ -8,11 +9,27 @@ while True:
computer=random.choice(list) computer=random.choice(list)
print("电脑出拳:"+computer) print("电脑出拳:"+computer)
if computer==player: if computer==player:
print("啥玩意啊就直接平局"+"\n----------------------------------------------------------------------------------------------------") print("啥玩意啊就直接平局"+"\n"+"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~")
elif player== "石头" and computer == "剪刀" or player == "剪刀" and computer == "布" \ elif player== "石头" and computer == "剪刀" or player == "剪刀" and computer == "布" \
or player == "布" and computer == "石头": or player == "布" and computer == "石头":
print("666"+"\n----------------------------------------------------------------------------------------------------") print("你赢了呢,保加利亚王八!"+"\n"+"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~")
pen=turtle.Pen()
pen.color("purple")
pen.right(90)
pen.forward(20)
pen.shapesize(20)
pen.shape("turtle")
pen.right(9999999999999999999999999999999999999999999999999999999999999999999999999999999)
turtle.done()
else: else:
print("菜狗"+"\n----------------------------------------------------------------------------------------------------") print("loooooooser,保加利亚王八!"+"\n"+"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~")
pen=turtle.Pen()
pen.color("purple")
pen.right(90)
pen.forward(20)
pen.shapesize(20)
pen.shape("turtle")
pen.right(9999999999999999999999999999999999999999999999999999999999999999999999999999999)
turtle.done()
else: else:
print("ARE YOU F**KING KIDDING ME?!给爷正常一点啊") print("ARE YOU F**KING KIDDING ME?!给爷正常一点啊")
\ No newline at end of file
import turtle
pen=turtle.Pen()
pen.write("dashabi")
\ 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