From 85114945c639044d3e112f603b3faa23a78ea9d5 Mon Sep 17 00:00:00 2001 From: Boluwashola Date: Sun, 21 Jun 2026 19:14:38 +0100 Subject: [PATCH 1/3] Added an Input function --- 02_Day_Variables_builtin_functions/variables.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/02_Day_Variables_builtin_functions/variables.py b/02_Day_Variables_builtin_functions/variables.py index bb5c28037..dbc69cbee 100644 --- a/02_Day_Variables_builtin_functions/variables.py +++ b/02_Day_Variables_builtin_functions/variables.py @@ -15,6 +15,9 @@ 'city': 'Helsinki' } +# Taking the user name as an input +input("Enter your name: ") + # Printing the values stored in the variables print('First name:', first_name) From fabd300a999d52c4f2b7d9370cab85adcc4744dc Mon Sep 17 00:00:00 2001 From: Boluwashola Date: Sun, 21 Jun 2026 19:24:05 +0100 Subject: [PATCH 2/3] Added two input functions --- 02_Day_Variables_builtin_functions/variables.py | 1 + 1 file changed, 1 insertion(+) diff --git a/02_Day_Variables_builtin_functions/variables.py b/02_Day_Variables_builtin_functions/variables.py index dbc69cbee..266045a27 100644 --- a/02_Day_Variables_builtin_functions/variables.py +++ b/02_Day_Variables_builtin_functions/variables.py @@ -17,6 +17,7 @@ # Taking the user name as an input input("Enter your name: ") +input("Enter your job role: ") # Printing the values stored in the variables From 2df0cbeb03b976060a7ac688ccd5f4e1a65f0506 Mon Sep 17 00:00:00 2001 From: Boluwashola Date: Sun, 21 Jun 2026 19:38:53 +0100 Subject: [PATCH 3/3] Updated the input comment --- 02_Day_Variables_builtin_functions/variables.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/02_Day_Variables_builtin_functions/variables.py b/02_Day_Variables_builtin_functions/variables.py index 266045a27..100eb3900 100644 --- a/02_Day_Variables_builtin_functions/variables.py +++ b/02_Day_Variables_builtin_functions/variables.py @@ -15,7 +15,7 @@ 'city': 'Helsinki' } -# Taking the user name as an input +# Taking the user name and job role as an input input("Enter your name: ") input("Enter your job role: ")