age =22if age >=20:print('年龄大于20')if age !=21:print('年龄不等于21')if age <=20:print('年龄小于20')else:print('年龄不小了')# if elif else 结构for item inrange(1,21,2):if item >=17:print('年龄大于17岁')elif item<=15and
if 语句简单的 if语句的例子age = 22if age >= 20 : print('年龄大于20')if age != 21 : print('年龄不等于21')if age <= 20 : print('年龄小于20')else: print('年龄不小了')# if elif else 结构for item in range(1,2...