!表示反转逻辑表达式的值,True变为False,False变为True
'c' in 'abc'为True
!('c' in 'abc')为False
!与=号连在一起表示不等于,如
a!=b 等价于 !(a==b)