From 8518852acc6f37a4309a5ddd3418599714d49425 Mon Sep 17 00:00:00 2001 From: Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> Date: Fri, 3 May 2024 07:00:07 +0000 Subject: Fri, May 3, 2024, 12:00 AM -07:00 --- wk6/lect/sentimental-hello/hello.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'wk6/lect/sentimental-hello/hello.py') diff --git a/wk6/lect/sentimental-hello/hello.py b/wk6/lect/sentimental-hello/hello.py index b3c15b9..9ab3d2c 100644 --- a/wk6/lect/sentimental-hello/hello.py +++ b/wk6/lect/sentimental-hello/hello.py @@ -1,4 +1,2 @@ -from cs50 import get_string - -answer = get_string("What's your name? ") -print("hello, " + answer) +answer = input("What's your name? ") +print(f"hello, {answer}") -- cgit v1.2.3