Question: Problem 1: (30 points) Write a Python program to ask the user to enter two sentences. Then, create a new string made of the
Problem 1: (30 points) Write a Python program to ask the user to enter two sentences. Then, create a new string made of the second and third character from the first sentence and the last three characters from the second sentence. Then, add the string 24 at the end of the obtained string and print this finally obtained string. Also, count how many "a" in final obtained string. I If any of the initial two input strings are less than length 3, give an appropriate message and do not proceed. Use any String Manipulation Functions
Step by Step Solution
There are 3 Steps involved in it
The task requires writing a Python program that performs the following steps 1 Asks the user to ente... View full answer
Get step-by-step solutions from verified subject matter experts
