From d6c61d988bfa4255baf9cdae42db59ebee38363f Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Tue, 25 May 2021 17:10:49 +0200 Subject: Added files --- src/Lecture4/live/live2.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/Lecture4/live/live2.py (limited to 'src/Lecture4/live/live2.py') 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 @@ +x = int(input("Input something: ")) + +while x > 10: + print("Large number!", x) + x = x - 1 + +print("Bye") -- cgit v1.3