Sep-30-2018, 12:24 PM
When you want to call a function, you don't need to put
or
rather than
Note.
print
before it:three_lines()
or
print(three_lines())
rather than
print three_lines()
Note.
print(three_lines())
will print None as that is what is returned from your functions by default in the absence of a return
statement. That will be in addition to any output the function produces.
I am trying to help you, really, even if it doesn't always seem that way