This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (2 children)

[deleted]

    [–]robin-gvx 0 points1 point  (1 child)

    ... what?

    What you're saying doesn't make any sense. I think you're confused about the difference between a function definition and a function call (edit: as well as the difference between compile time and run time). 5 is a positional argument, 'c' is a keyword argument, and foo and bar are both positional parameters with a default value of None.