|
Learning objectives for chapter 5 |
1 | Learn how to get console input into a program. |
2 | Learn how to prompt the user to enter input. |
3 | Learn how to interrupt a running console program and cause it to terminate. |
|
|
Learning objective(s) addressed |
|
1 | 2 | 3 | |
Exercises |
Right-click (or control-click on a Mac) the title to save its PDF to your system. |
|
5.1 |
A Simple Mortgage Calculator, v.2.0 PDF |
X | X | |
5.2 |
About Lighthouses, v.2.0 PDF |
X | X | |
5.3 |
Making Change, v.2.0 PDF |
X | X | |
5.4 |
Temperature Conversion, v.1.0 PDF |
X | X | |
5.5 |
My Savings Plan, v.2.0 PDF |
X | X | X |
| |
Samples |
Right-click (or control-click on a Mac) the title to save its PY file to your system. |
|
5.1 |
Using Console Input Code Blocks PY
|
X | | |
| |
Videos |
|
5.1 |
Click HERE for a YouTube-like video that shows how to develop code using console keyboard input.
It's running time is 11 minutes, and it uses Python on a Windows system, with JNotePad and Visual Studio in command line mode.
It introduces the templates in JNotePad for creating new PY files and for inserting code blocks for console data entry.
|
X | X | X |
|
Code from the chapter in order of their appearance in the text |
|