summaryrefslogtreecommitdiff
path: root/wk6/lect/sentimental-hello/hello.py
diff options
context:
space:
mode:
Diffstat (limited to 'wk6/lect/sentimental-hello/hello.py')
-rw-r--r--wk6/lect/sentimental-hello/hello.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/wk6/lect/sentimental-hello/hello.py b/wk6/lect/sentimental-hello/hello.py
index e69de29..b3c15b9 100644
--- a/wk6/lect/sentimental-hello/hello.py
+++ b/wk6/lect/sentimental-hello/hello.py
@@ -0,0 +1,4 @@
+from cs50 import get_string
+
+answer = get_string("What's your name? ")
+print("hello, " + answer)