Commit 17f607cc by BellCodeEditor

save project

parent feec90c2
Showing with 5 additions and 28 deletions
import random,time,os
# 玩家出拳
os.system('cls')
sb_player = input("傻逼除出拳'石头/剪刀/布'")
print('sb_player出拳' + sb_player)
nb_computer = ['石头','剪刀','布']
wondefulnb_computer = random.choice(nb_computer)
print("nb_computer" + wondefulnb_computer)
if sb_player not in nb_computer:
os.system('cls')
print('傻逼!你不守信用,你应该出正确的选项的,不可以这样!')
time.sleep(2)
print("不用理会那个祖安人,保持你的决心,kill that!")
elif wondefulnb_computer == sb_player:
print("你平局了,这不是你想要的结局")
time.sleep(2)
print("this is wondefulnb_computer:'呕!不应该平局的,sb下亿局该是我胜利!'")
elif wondefulnb_computer =='石头' and sb_player == '布' or wondefulnb_computer =='剪刀' and sb_player == '石头' or wondefulnb_computer =='布' and sb_player == '剪刀':
print('you are won,horay for the 奥力给')
time.sleep(2)
print("this is wondefulnb_computer:'shirt!fuck you!下一次你就不会有好运了'")
else:
print("机器人在此,你白给了它白嫖了,保持你的决心,一举击败他!")
time.sleep(2)
print('this is wondefulnb_computer:捏嘿嘿嘿,姑姑嘎嘎嘎,你白给了,我白嫖了')
\ No newline at end of file
import turtle
pen = turtle.Pen()
pen.write("春晓\n春眠不觉晓,\n处处闻啼鸟。\n夜来风雨声,\n花落知多少。\n",font= ('行云流水',9,"bold"))
turtle.done()
\ 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