Function_string_parameter_passing.py


Sign up Free. Don't forget to check out our challenges, lessons, solve and learn series and more ...


Code Snippet

def functionprint( str ):
   #This prints a passed string into this function"
   print (str)
   return

functionprint("boo")
functionprint("boo again")

                    

Try it yourself