Python Basics — Day 15 Functions Basics (def, return, parameters)
01. What is a Function?
A block of code that performs a specific task
Defined with def, and executed when called
def say_hello():
print("Hello!")
say_hello() # Call the function
02. Parameters
You can pass values into functions as parame...
sabinsim.hashnode.dev1 min read