Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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()
Source by www.datacamp.com #
 
PREVIOUS NEXT
Tagged: #holding #function #code #python
ADD COMMENT
Topic
Name
3+6 =