Answers for "what is the use of function in python"

0

function used in python

def hello():
  name = str(input("Enter your name: "))
  if name:
    print ("Hello " + str(name))
  else:
    print("Hello World") 
  return 
  
hello()
Posted by: Guest on February-10-2021

Code answers related to "what is the use of function in python"

Python Answers by Framework

Browse Popular Code Answers by Language