Tutorial 4 Exercises
- Write a program that makes a variable
x, sets it equal to a number between 1 and 5, and then uses anif-else-if-elsechain to print out a different message depending on the number you chose forx. Try it with an endingelseclause, and then again without one. Experiment! - Write a
forloop that counts down from 10 to 1, and then announces that you have landed in another dimension, another time, a place not only of sight and sound, but of mind: the Twilight Zone! Da da dun...

