"function take an argument" (PYTHON3)

francnstein

francnstein

Posted on April 27, 2020

"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!

💖 💪 🙅 🚩
francnstein
francnstein

Posted on April 27, 2020

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

Mastering Python the Right Way
python Mastering Python the Right Way

March 2, 2022

loops(python3)
python loops(python3)

April 22, 2020