* Python - Minor Fix

This commit is contained in:
Gildo Fiorito 2013-07-03 17:36:43 +02:00
parent 7599a28367
commit c3de417d76

View File

@ -328,7 +328,7 @@ 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 11.
# Another way to call functions is with keyword arguments
add(y=6, x=5) # Keyword arguments can arrive in any order.