From abf08a516f8c09b3f0ef03767876a6efb618b274 Mon Sep 17 00:00:00 2001 From: HimonCS <105007627+HimonCS@users.noreply.github.com> Date: Thu, 5 May 2022 10:58:18 -0600 Subject: [PATCH 1/2] Create yourname --- yourname | 1 + 1 file changed, 1 insertion(+) create mode 100644 yourname diff --git a/yourname b/yourname new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/yourname @@ -0,0 +1 @@ + From 95cfaacbd36622d2940e60d2842df6b5a5c756f8 Mon Sep 17 00:00:00 2001 From: HimonCS <105007627+HimonCS@users.noreply.github.com> Date: Thu, 5 May 2022 11:11:53 -0600 Subject: [PATCH 2/2] Add files via upload --- test.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/test.py b/test.py index d1a52b7..b69261e 100644 --- a/test.py +++ b/test.py @@ -5,16 +5,18 @@ After a successful run, please submit a pull request! ''' -def read_input(): +def read_input(first,last): # Please allow the user to enter their first and last name from the terminal # Hint: We call this a raw input - first_name = ; - last_name = ; + first_name = first; + last_name = last; # Please fix the following print statement - 'Welcome %s %s'%(first_name,last_name) + print('Welcome %s %s'%(first_name,last_name)) #Supply the approriate return (We aren't actually returning anything :) ) - return -read_input() +first = input('Enter your first name: ') +last = input('Enter your last name: ') + +read_input(first,last)