How many letters at the end of the word should be converted


Problem

On the first line, request the string to convert from the user. On the next line, request how many letters at the end of the word should be converted. Next, get the start of the string. Then, get the ending of the string, that is, the one we'll be converting. Then, concatenate the first and last part back together, with the last substring transformed. Finally, run the script with the python3 main.py command.

 

Request for Solution File

Ask an Expert for Answer!!
Python Programming: How many letters at the end of the word should be converted
Reference No:- TGS03293472

Expected delivery within 24 Hours