Commit 9e809e6d by BellCodeEditor

auto save

parent 4cac003e
Showing with 9254 additions and 3 deletions
neme=input("输入名字")
print(neme+"你好啊")
\ No newline at end of file
import random
player=input("请出牌(清一色/杆/胡):")
print("玩家出牌:"+player)
list=["清一色","杆","胡"]
computer=random.choice(list)
print("人工智障出牌:"+computer)
if player==computer
print("平局")
elif (player=="清一色" and computer=="杆")or(player=="杆" and computer=="胡")or(player=="胡" and computer=="清一色")
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