Question: Needs to be done in python. Create a program file named extract.py). In this file, write a function named First middle last. This function will
Needs to be done in python.

Create a program file named extract.py). In this file, write a function named First middle last. This function will take a single string as input. It will "extract" the first, middle, and last character from the string, combine them into a new string, and then return the new string. This test case: stefirst, middle, and lost character normeestring Ombi print (first_middle_last('abcde')) print(first_middle_last ('12345557890")) print(first_middle_last('CSC250*)) prlnt (first siasle last ens is a scantly onger str I N)) print(first_middle_last('this is a significantly longer string than the rest of them)) Should produce this output ace 150 C20 WIN trm
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
