What does the not operator do?

It turns True or False values into their oppositeIt checks if values are equal

It turns True or False values into their opposite.