Chapter 3 Exercises

  < Previous  Next >
Write Python statements to do the following:
  1. Request a number from the user. Display if the number is odd or even.
  2. Give an example of a if-else structure
  3. Give an example of a if-elif-else structure