Using parameters in a function is a good way to get values to use. For example:
def helloworld(message):
print('hello', message, 'world!')
If I called this function like this:
helloworld(‘minecraft’)
It would output
hello minecraft world
Using parameters in a function is a good way to get values to use. For example:
def helloworld(message):
print('hello', message, 'world!')
If I called this function like this:
helloworld(‘minecraft’)
It would output
hello minecraft world
“The first step toward solving a problem is complaining about it”
First Published 2015-12-06
Categories: [ Old Blog ]