The Forgetful Machine

Ask the user for two words and two numbers, and let the person at the keyboard type in some values, but don’t bother storing their responses into any variables.

Again, there is no need to create any variables. Just use the input and print functions.

Name the file:

forgetful_machine.py

Give me a word!
lorry! 
Give me a second word!
deoxyribonucleic? 
 
Great, now your favorite number?
42 
And your second-favorite number...
1 
 
Whew!  Wasn't that fun?

©2021 Daniel Gallo

This assignment is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 United States License.

Creative Commons License

Adapted for Python from Graham Mitchell’s Programming By Doing