Commit 87b2282b by BellCodeEditor

auto save

parent a919dab2
Showing with 32 additions and 0 deletions
import random
a=input("请玩家出拳(石头/剪刀/布):")
print("玩家出:"+a)
d=['剪刀','石头','布']
r=random.choice(d)
print('电脑出:'+r)
if a==r:
print('平局')
elif a=="剪刀" and r=="布" or a=="石头" and r=="剪刀" or a=="布" and r=="石头":
print("你赢了")
else:
print("你输了")
rij?gtp'y.l,fi,
\ No newline at end of file
\ No newline at end of file
t = float(input("你的体温是多少度?"))
t = float(input("你的体温是多少度?"))
if t>=40.1:
print("快去医院!")
elif t>=38.1:
print("高烧")
elif t>=37.3:
print("低烧")
elif t>=36:
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