Skip to content

EIEIOO Workshop: Not sure if I did it right #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
1 change: 1 addition & 0 deletions yourname
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@