From e799ee94bf2def9b782f870d0c884d09513b333e Mon Sep 17 00:00:00 2001 From: kukemuna Date: Fri, 22 Mar 2024 09:35:28 +0200 Subject: [PATCH] automated commit by check50 [check50=True] --- hello.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 hello.py diff --git a/hello.py b/hello.py new file mode 100644 index 0000000..4cb3b67 --- /dev/null +++ b/hello.py @@ -0,0 +1,6 @@ +name = input("What's your name? ") + +if name: + print(f"hello, {name}") +else: + print("hello, world")