Exercise 1.4. (Python Keyboard Input)

the_basics_lesson_4_exercise.pdf | |
File Size: | 274 kb |
File Type: |
2. Open up the Python GUI and enter the program shown below:
3. Run the program and you should see the following screenshot.
In response to the user friendly prompt enter the following text.
He's not the Messiah, he's a very naughty boy!
What was the program output?
He's not the Messiah, he's a very naughty boy!
What was the program output?
4. Amend the program as requested below then save and run the program
Did the program still work?
5. Write a program that asks a user to enter their name (use an input function). Then have it ask for the first line of their address (use another input function). Display their name on one line and their address on the next line.
Make sure the program is user friendly (i.e. have prompts that guide the user on what they should be entering).
Make sure the program is user friendly (i.e. have prompts that guide the user on what they should be entering).
END Next Exercise >>