From 181aec0f60f1c2daee0b58bf22ea0262040331c6 Mon Sep 17 00:00:00 2001 From: patraabinash29 <63745266+patraabinash29@users.noreply.github.com> Date: Thu, 27 Oct 2022 19:08:32 +0530 Subject: [PATCH] Update 2-write-your-own-functions.py changed the variable --- ch06-functions-and-loops/2-write-your-own-functions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ch06-functions-and-loops/2-write-your-own-functions.py b/ch06-functions-and-loops/2-write-your-own-functions.py index ac29db5..a31c128 100644 --- a/ch06-functions-and-loops/2-write-your-own-functions.py +++ b/ch06-functions-and-loops/2-write-your-own-functions.py @@ -14,9 +14,9 @@ def cube(num): # Exercise 2 -def greet(name): +def greet(input_name): """Display a greeting.""" - print(f"Hello {name}!") + print(f"Hello {input_name}!") greet("Guido")