how to write not equal for string in python in if statement code example Example: not equal python if a != b: pass if not a == b: pass