1
0
Fork 0
ejv2.cc/content/blog/old/2015/top-tip-2/index.md
2024-08-07 15:32:40 +01:00

328 B

title date categories
Top tip 2! 2015-12-06
Old Blog

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