Day 2 of diving into Python functions — today we’ll look at:
• positional arguments
• named (or keyword) arguments
I don’t have a preference on which term to use for the latter!
Here’s a simple function – see attached image
—> Which of the five function calls will not work?
While you think about the answer, you can refresh your memory about the terms with yesterdays toot thread!
The parameters in the code above are person
and number
The arguments are the strings with names and the integers used in the function calls
/1
@Satrofu That's correct, yes!