Answered step by step
Verified Expert Solution
Link Copied!

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Guide To Client Server Databases

Authors: Joe Salemi

2nd Edition

1562763105, 978-1562763107

More Books

Students also viewed these Databases questions

Question

2. You seem to feel frustrated when Lee doesnt do his homework.

Answered: 1 week ago