Skip to content

Commit 181aec0

Browse files
Update 2-write-your-own-functions.py
changed the variable
1 parent a0f5a35 commit 181aec0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ch06-functions-and-loops/2-write-your-own-functions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ def cube(num):
1414

1515

1616
# Exercise 2
17-
def greet(name):
17+
def greet(input_name):
1818
"""Display a greeting."""
19-
print(f"Hello {name}!")
19+
print(f"Hello {input_name}!")
2020

2121

2222
greet("Guido")

0 commit comments

Comments
 (0)