cs50/psets/6/sentimental-hello/hello.py

6 lines
95 B
Python

from cs50 import get_string
name = get_string("Name?: ")
if name:
print(f"hello, {name}")