(Solved) : 6 Ce 231 23 Mme Online Labs X 03 03pdf Part B Programming Strings Develop Python Programs Q44007181 . . .
6 CE 231 23 – Mme Online/Labs/ x 03/:03.pdf PART B: PROGRAMMING WITH STRINGS Develop a Python programs which will covert Eagluh words into their Pig Latin form, as described below The program will repeatedly prompt the her to enter a word First convert the word to lower case. The word will be converted to Pig Latin using the following rules a) If the word begins with a vowel, append way to the end of the word b) If the word begins with a constant, remove all consonants from the beginning of the word and append them to the end of the word. Then, append the end of the word For example: dog” become “ogday* scrate becomes atehasray” is becomes “way” apple becomes appleway llon becomes “ellohay “” becomes away” The program will halt when the re q ui “OUIT”, “Ouit o n combination of lower and uppercase letters, such Seti a) Use. Lower) to change the word to lowercase b) How do you find the position of the first vowell I like ingenumerate vord) for ich in enumerate words where his each character in the word and is the characters index position c) Uses to isolate the first letter of each weed d) U s ing contention to form the equivalent Pig Latin words c) Use the in operator in the sta siou to best for v els Good practice definesco VOWELS – Lou * Test your program on Mini and demonstrate it to your TA. On-line students should saw the completed program named “laba.py) for grading is the re st DELE Show transcribed image text 6 CE 231 23 – Mme Online/Labs/ x 03/:03.pdf PART B: PROGRAMMING WITH STRINGS Develop a Python programs which will covert Eagluh words into their Pig Latin form, as described below The program will repeatedly prompt the her to enter a word First convert the word to lower case. The word will be converted to Pig Latin using the following rules a) If the word begins with a vowel, append way to the end of the word b) If the word begins with a constant, remove all consonants from the beginning of the word and append them to the end of the word. Then, append the end of the word For example: dog” become “ogday* scrate becomes atehasray” is becomes “way” apple becomes appleway llon becomes “ellohay “” becomes away” The program will halt when the re q ui “OUIT”, “Ouit o n combination of lower and uppercase letters, such Seti a) Use. Lower) to change the word to lowercase b) How do you find the position of the first vowell I like ingenumerate vord) for ich in enumerate words where his each character in the word and is the characters index position c) Uses to isolate the first letter of each weed d) U s ing contention to form the equivalent Pig Latin words c) Use the in operator in the sta siou to best for v els Good practice definesco VOWELS – Lou * Test your program on Mini and demonstrate it to your TA. On-line students should saw the completed program named “laba.py) for grading is the re st DELE
Expert Answer
Answer to 6 CE 231 23 – Mme Online/Labs/ x 03/:03.pdf PART B: PROGRAMMING WITH STRINGS Develop a Python programs which will covert…
OR