From 9fe615a9aa8bc879a10344fe59e5d4603bc7f688 Mon Sep 17 00:00:00 2001 From: manetta Date: Thu, 1 Oct 2020 17:11:19 +0200 Subject: [PATCH] adding a short example script that Louisa and me looked into last week --- py/read-from-input.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 py/read-from-input.py diff --git a/py/read-from-input.py b/py/read-from-input.py new file mode 100644 index 0000000..95805f3 --- /dev/null +++ b/py/read-from-input.py @@ -0,0 +1,7 @@ +print("Enter your name:") +x = input() # waiting for input +print("Hello, " + x) + +print('Ah hello, and who else is there?') +y = input() +print('Ah hello: ' + y) \ No newline at end of file