def hello(): name = str(input("Enter your name: ")) if name: print ("Hello " + str(name)) else: print("Hello World") return hello()