Question: USING PYTHON 2.7 Create a function called firstName which will extract the first name from a provided full name. Assume that the provided name will
USING PYTHON 2.7
Create a function called firstName which will extract the first name from a provided full name. Assume that the provided name will follow the form; "first last"
Write a script that prompts the user for their full name and uses your function to print the first name to the terminal.
Sample Output:
Please enter your full name: Mark Rogers
Hello Mark!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
