比较运算:
赋值运算:
逻辑运算:
成员运算:
1 st = "I love you" 2 ret = "love" in st 3 print(ret) 4 5 s = ['sunny','rainy','snowy'] 6 ret = "sunny"not in s 7 print(ret)
成员是指集合中的元素。