Question: Only python programming Background Probably you are familiar with Pig Latin, a pseudo-language derived from English by making certain characteristic transformations of the spelling of
Background Probably you are familiar with Pig Latin, a pseudo-language derived from English by making certain characteristic transformations of the spelling of English words. There is another pseudo-language called Herd Latin in which an English word is trans- formed as follows. The letters of the English word are interleaved with the letters of the word "bison", starting with the first letter of the English word, then alternating be tween the letters of "bison" and the letters of English, and finally ending with the last letter of the English word. For example, the English "Python" becomes the Herd Latin "Pbyitshoonn". (The letters of "bison" appear in red here to make them visible.) If the English word has fewer than six letters, then the entire word "bison" will not be used. For example, "code" in English becomes "cboidse" in Herd Latin. On the other hand, if the English word has more than six letters, then the letters of "bison" will be repeated as many times as necessary. For example, "university" in English be- comes "ubni isvoenrbsi is toy" n Herd Latin Assignment Write a program that converts English words to Herd Latin. Include a sentinel loop to enable the user to enter and convert any number of words. Let the user enter a null string to serve as the sentinel to terminate the loop Sample Input File The following example shows how the screen must look when your program runs. You must strictly follow this format, wording, spacing, and alignment. The characters in red are typed by the user. The other characters are output by the program English Python Herd LatinPbyitshoonn Englishuniversity Herd Latin ubniisvoenrbsiistoy English --_
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
