Commit 917deddf by BellCodeEditor

save project

parent a85a3d5c
a1=input("指挥你认罪吗?请回答认罪或不认?")
a2=input("柴可夫斯基你认罪吗?请回答认罪或不认?")
huida_list=["认罪","不认"]
if a1 in huida_list and a2 in huida_list:
if a1==a2=="认罪":
print("都判十年")
if a1==a2=="不认":
print("都判3年")
if a1=="认罪" and a2=="不认":
print("指挥判一年,柴可夫斯基判20年")
if a1=="不认" and a2=="认罪":
print("柴可夫斯基判一年,指挥判20年")
else:
print("他妈的,叫你答非所问,给老子打!")
\ No newline at end of file
name=input("请输入名字")
CJ=input("请输入成绩")
print(name+"的英语成绩是:"+CJ)
\ No newline at end of file
import random
name=input("请输入姓名:")
chou_list=["手机","电脑","个屁","荣耀水晶","一百万"]
gift=random.choice(chou_list)
print("恭喜你,幸运的创造师--"+name+",获得了"+gift)
\ No newline at end of file
a=input("请输入一个数") import random
b=2 game_list=["石头","剪刀","布"]
print(int(a)+b) player_name=input("你叫什么名字?")
\ No newline at end of file
player_win=0
computer_win=0
while player_win<2 and computer_win<2:
print("-"*30)
computer=random.choice(game_list)
player=input("请出拳(石头/剪刀/布):")
if player in game_list:
print("玩家出拳:",player)
print("计算机出拳:",computer)
if player==computer:
print("平局")
elif(player=="剪刀" and computer=="布" or player=="石头" and computer=="剪刀" or player=="布" and computer=="石头"):
print("哇塞(o゜▽゜)o☆,"+player_name+"太帅了!")
player_win=player_win+1
else:
print("咦,你看这个"+player_name+"就是逊👎")
computer_win=computer_win+1
else:
print("操,认真点")
print("-"*30)
print("最终得分:"+(player_name)+str(player_win)+":"+"(电脑)"+str(computer_win))
if player_win>computer_win:
print("不错嘛"+player_name+",你竟然打败了人工智能!")
else:
print("抱歉,你败了,慌吗?不慌,问题大吗?问题不大。按下运行之后还是一条好汉")
\ No newline at end of file
import turtle name=input("请输入名字")
CJ=input("请输入成绩")
pen=turtle.Pen() print(name+"的英语成绩是:"+CJ)
for i in range(360): \ No newline at end of file
pen.forward(3)
pen.left(1)
turtle.done()
\ No newline at end of file
xingqi=input("今天星期几?")
if xingqi=="星期一":
print("今天学钢琴")
if xingqi=="星期三":
print("今天学编程")
if xingqi=="星期六":
print("今天学英语")
else:
print("今天学国学")
\ No newline at end of file
choice=input("请输入您的选择:") import turtle
choice=input("请输入您的选择:") import turtle
pen=turtle.Pen()
if choice=="是": pen.write("春晓\n春眠不觉晓\n处处蚊子咬\n夜来香港脚\n臭得不得了",font=("楷体",30,"normal"))
print("加油,奥里给,相信自己") pen.hideturtle()
else: turtle.done()
print("操你妈的,浪费老子时间") \ No newline at end of file
\ 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