Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Write a python program Problem 1: Write a Python Function called translate() tha

ID: 3759085 • Letter: W

Question

Write a python program Problem 1: Write a Python Function called translate() that takes a string parameter named sentence. Your function should translate the sentence into something called robbers language and return the translated sentence. In Robbers language each consonant is doubled, with an .0' added between them. For example, translate('this is fun?) should return the string 'tothohisos isos fotunon'. Note: You will need to go through the sentence character by character, and keep accumulating in a string accumulator. Problem Write a function find_longest_word() that takes as parameter a list of words and returns the length of the longest word in the list. Note: You will need to maintain an int variable that holds the longest length at any time, and go through the list updating the variable when required. Problem 3: Write the main program that uses translate with some string of your choice, and findiongest_word() with a list of words of your choice.

Explanation / Answer

2)

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote