diff options
author | Adam <adam@adambard.com> | 2013-07-03 08:49:29 -0700 |
---|---|---|
committer | Adam <adam@adambard.com> | 2013-07-03 08:49:29 -0700 |
commit | aa66a13d49f4e2ccfad3d29e427527c94b191064 (patch) | |
tree | 0df2ed6fb545812dcbff5e7d30a7282f46f31eaf /python.html.markdown | |
parent | 03ac46f56654ce669596399ff9861d770b890102 (diff) |
Small fix in python
Diffstat (limited to 'python.html.markdown')
-rw-r--r-- | python.html.markdown | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/python.html.markdown b/python.html.markdown index ff77fac6..e0851950 100644 --- a/python.html.markdown +++ b/python.html.markdown @@ -328,7 +328,8 @@ def add(x, y): return x + y # Return values with a return statement # Calling functions with parameters -add(5, 6) #=> 11 and prints out "x is 5 and y is 6" +add(5, 6) #=> prints out "x is 5 and y is 6" and returns 11 + # Another way to call functions is with keyword arguments add(y=6, x=5) # Keyword arguments can arrive in any order. |