I have to make a program that is called from the command line like this
python3 hello.py <name>
I was able to get it done like this, but it still asks for the name:
def hello(name: str):
if name == None or name == '':
return 'Hello, World!'
else:
return 'Hello, ' + name
if __name__ == '__main__':
print_hello(input("How can I call you?"))