Add function info

This commit is contained in:
Josh Mudge 2018-12-20 13:23:18 -07:00
parent 8c945c47ca
commit 2994c7457b
2 changed files with 20 additions and 0 deletions

View File

@ -148,6 +148,25 @@ month = now.month
day = now.day day = now.day
``` ```
# Function P3 Ch.2
## Defining a Function
```
def greet_customer():
print("Welcome!")
```
## Calling Functions
```
greet_customer()
```
or if it has parameters:
```
greet_customer(1,ten)
```
# Fun Projects # Fun Projects
Design a shop using Ex7 and Ex9 as a frame: Design a shop using Ex7 and Ex9 as a frame:

1
Hex Submodule

@ -0,0 +1 @@
Subproject commit 51550dc123eab347873de585140948f645908797