Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

OpenStack Trove

Authors: Amrith Kumar, Douglas Shelley

1st Edition

1484212215, 9781484212219

More Books

Students also viewed these Databases questions

Question

Management vs Leadership. Explain with theories and examples.

Answered: 1 week ago

Question

4. Give examples of five potential appraisal problems.

Answered: 1 week ago

Question

6. Explain how to install a performance management program.

Answered: 1 week ago