Top tip 2!

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

Ethan Marshall

A programmer who, to preserve his sanity, took refuge in electrical engineering. What an idiot.


First Published 2015-12-06

Categories: [ Old Blog ]