For this line 3 the one with nothing in the parameter. Is not necessary because we already used return input |
As coder777 says, there is no relationship at all between those things. You can have:
- functions with a return value and arguments
- functions with a return value and no arguments
- functions with arguments and no return value
- functions with no arguments and no return value
What does "return input" even mean? Return values aren't imput to the function, they're output from the function. Can you explain what you mean by that phrase?
It seems to me that you haven't really understood what arguments are for, and what return values are for. You probably need to spend more time with your textbook, reading and understanding what it says about functions.
Or maybe with a better textbook, if the one you're using doesn't explain this properly.