Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started