Question: Create a PYTHON function called firstName which will extract the first name from a provided full name. Assume that the provided name will follow the

Create a PYTHON 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: Kendrick Lamar Hello Kendrick!

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!