初学者-在geany中比较值的大小与检查特定值是否包含在列表中
car="0"
cars="3"
if car!="3":
print("false")
age="18"
if age<"19":
print("ture")
else:
print("false")
requested_topping=["mushroom","onions","pineapple"]
if "mushroom" in requested_topping:...
原创
2019-05-13 23:11:33 ·
356 阅读 ·
0 评论