Day 10

Day 10 was about functions with outputs (return) some string manipulation and adding docstring to functions for documentation purposes.


funcions with outputs

def function():
    results = 3*2
    return result

start each word with capital letter

return can also be used to exit a function

docstring used to document functions
def function():
    """"bla bla docuentation
    also multiple lines"""


Comments are closed.