Skip to content

Commit 65d28c7

Browse files
authored
Merge pull request #85 from braboj/codex/add-comment-block-on-parameter-order
Add spacing after positional args comments
2 parents 7dc8166 + ef18c1f commit 65d28c7

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

examples/07_functions/func_positional_arguments.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Demonstrates how functions receive arguments by their position
2+
# -----------------------------------------------------------------------------
3+
# Each value is matched to a parameter based on where it appears,
4+
# so the order of the provided arguments matters.
5+
16
def greet(name, age):
27
print("Hello, {0}! You are {1} years old.".format(name, age))
38

0 commit comments

Comments
 (0)