DEV Community

Cover image for "function take an argument" (PYTHON3)
francnstein
francnstein

Posted on • Updated on

"function take an argument" (PYTHON3)

When a function take an argument my intentions are clear :)

def say_it_loud(word):
print(word + "!")

say_it_loud("GET BETTER")
say_it_loud("KEEP CODING")
say_it_loud("HACKING HOLLYWOOD")

GET BETTER!
KEEP CODING!
HACKING HOLLYWOOD!

Top comments (0)