if
作者:互联网
age = 18
is_beautiful = True
star = "水瓶"
if 16 < age < 20 and is_beautiful and star == "水瓶":
print("okk")
else:
print("not ok")
score = 95
if score < 60:
print("不及格")
elif score < 85:
print("良好")
elif score < 95:
print("优秀")
else:
print("4.3!")
标签:,beautiful,elif,star,age,score,print 来源: https://www.cnblogs.com/ayanyuki/p/15915710.html