A comparison checks whether values relate in a particular way and produces a Boolean result. In Python, == checks equality, such as choice == '1'. section 4.0
Checking a menu choice
To accept three menu choices, compare the input separately and join the comparisons with or: if choice == '1' or choice == '2' or choice == '3':. Valid input selects an item; other input receives an error message. section 4.0







