write a function named find doubleletter word which returns true if the word has a letter that is doubled in the word

Write a function named find doubleletter(word) which returns True if the word has a letter that is ’doubled’ in the word

For example, if the word is command then the function would return True because ’m’ is doubled. But if the word is repeated then the function would return False because while ’e’ is in the word multiple times, it is not repeated in adjacent positions

 

"Is this question part of your assignment? We Can Help!"

Hi there! Click one of our representatives below and we will get back to you as soon as possible.

Chat with us on WhatsApp