Question: write the code in python. Input must be all five. 1st line 2nd line 3rd line, start string and end string Microsoft Word-WEEKLYTask3.docx 1 12

write the code in python. Input must be all five. 1st line 2nd line 3rd line, start string and end stringwrite the code in python. Input must be all five. 1st line

Microsoft Word-WEEKLYTask3.docx 1 12 This task wil have you write a number of functions. The following functions can be present in your program code in any order, bu the last ine of your program must be main) so that you are caling your main program to eause it to execute. main) This function prompts the user for three items Enter three sentences, one after the oher . a string of potential start characters a string of potential end characters Then call cach of the following functions (in the order given), separately for each of the three sentences entered from the cyboard. This functian will print the entire line ifthe first character on the ine is a digit. See the sample run below for output detais This function wil print the entire linethe first character on the line * See the sample nn below tor output details This functian wil print the entire linc the first charactoer on the line is any of the charachers in the starts string. Soo the sample run below for output details. the last character on the line is any of the characters in the ends sting See the This function wil print the etire line sample nun below for output detals This function wil print the characters in the cdd index locations winin the string (1.3,5,e1c.) See the sample run below for output details. The best way to approach a program like this is to wnite just one of the last five functions and the part of main up to where that function is caled. Get that much of your program debugged and then proceed to add another function and the cal to t in main. Continue untl all funetions are written and debugged. Here is a sample run. nter third 11ne of sentence: The nad hatter was heree nter the "starts string": ry had a little lamb. nds with any of Mary had a little lab ayhdalt1 ab 5, 6. Pick up sticks Pick up sticks SPc psik nad hatter was here conment: The nad hatter was here WEEKLYTask3.pof A z7867057 20318z...jpg Show all 7:32 PM Type here to search ^ 2/12/2018

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!