holding a function to the code in python code example
Example: holding a function to the code in python
def hello():
name = str(input("Enter your name: "))
if name:
print ("Hello " + str(name))
else:
print("Hello World")
return
hello()