Commit e67537d7 by BellCodeEditor

save project

parent 521889e1
import random
game_list=["石头","剪刀","布"]
computer=random.choice(game_list)
player=input("请出拳(石头/剪刀/布):")
if player=="石头" or player=="剪刀" or player=="布":
print("玩家出拳:",player)
print("计算机出拳:",computer)
if player==computer:
print("平局")
elif(player=="剪刀" and computer=="布" or player=="石头" and computer=="剪刀" or player=="布" and computer=="剪刀"):
print("我giao,你赢了,牛逼")
else:
print("你玩不起,你个小辣鸡")
else:
print("请输入正确的手势")
import turtle
pen=turtle.Pen()
pen.speed(10)
pen.shape("turtle")
pen.color("yellow")
pen.fillcolor("red")
pen.begin_fill()
for i in range(36):
pen.forward(200)
pen.right(170)
pen.end_fill()
pen.hideturtle()
turtle.done()
a=input("请输入一个数")
b=2
print(int(a)+b)
\ No newline at end of file
a="冯慧恒"
b=",男"
c=",12"
d=",喜欢玩手机"
print(a+b+c+d)
\ No newline at end of file
import turtle
pen=turtle.Pen()
for i in range(360):
pen.forward(3)
pen.left(1)
turtle.done()
\ No newline at end of file
import random
game_list=["石头","剪刀","布"]
computer=random.choice(game_list)
player=input("请出拳(石头/剪刀/布):")
if player=="石头" or player=="剪刀" or player=="布":
print("玩家出拳:",player)
print("计算机出拳:",computer)
if player==computer:
print("平局")
elif(player=="剪刀" and computer=="布" or player=="石头" and computer=="剪刀" or player=="布" and computer=="剪刀"):
print("我giao,你赢了,牛逼")
else:
print("你玩不起,你个小辣鸡")
else:
print("请输入正确的手势")
choice=input("请输入您的选择:")
choice=input("请输入您的选择:")
if choice=="是":
print("加油,奥里给,相信自己")
else:
print("操你妈的,浪费老子时间")
\ 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