23 lines
328 B
Markdown
23 lines
328 B
Markdown
|
---
|
|||
|
title: "Top tip 2!"
|
|||
|
date: "2015-12-06"
|
|||
|
categories:
|
|||
|
- 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
|