Functions in Python Common
Functions in Python Common
Common:
def = define
; closes
return = return result
# comments
Have definable parameters
re:function
Data Conversion
-#’s to strings
str to string modules imports + operator in strings joins them together
Boolean logic
Not, and, or
comparison operations (the same)
if – then statements (same)
w/ Booleans
else
elif (elseif)
names are case sensitive in Python