diff options
Diffstat (limited to 'src/Lecture4/live/live2.py')
| -rw-r--r-- | src/Lecture4/live/live2.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Lecture4/live/live2.py b/src/Lecture4/live/live2.py new file mode 100644 index 0000000..041bda3 --- /dev/null +++ b/src/Lecture4/live/live2.py | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | x = int(input("Input something: ")) | ||
| 2 | |||
| 3 | while x > 10: | ||
| 4 | print("Large number!", x) | ||
| 5 | x = x - 1 | ||
| 6 | |||
| 7 | print("Bye") | ||
