Great Deal! Get Instant $10 FREE in Account on First Order + 10% Cashback on Every Order Order Now

Project 8: Converting English to Pig Latin (new) Project 8: Pig Latin Translator Create a program that translates English to Pig Latin. Specifications ● Convert the English to lowercase before...

1 answer below »
Project 8: Converting English to Pig Latin (new)
Project 8: Pig Latin Translato
Create a program that translates English to Pig Latin.
Specifications
● Convert the English to lowercase before translating.
● Remove any punctuation characters before translating. For this program, the
only punctuation you need to wo
y about are: dots (periods: "."), exclamation
points (“!”), question marks (“?”), commas (“,”), semicolons (";"), and colons
(":"). Replace these with an empty space.
● Assume that words are separated from each other by a single space. I will
only test the program with words separated by a single space.
● If the word starts with a vowel, just add way to the end of the word.
● If the word starts with a consonant, move all of the consonants that appea
efore the first vowel to the end of the word, then add ay to the end of the
word.
● If a word starts with the letter y, the y should be treated as a consonant. If the
y appears anywhere else in the word, it should be treated as a vowel.
● Save the file with the filename pig_latin_XXX.py where XXX is either you
initials or your last name.
Note:
● There are no official rules for Pig Latin. Most people agree on how words that
egin with consonants are translated, but there are many different ways to
handle words that begin with vowels. This program uses the method
described above.
Grading Ru
ic (reused):
Answered 1 days After Nov 20, 2022

Solution

Priye answered on Nov 21 2022
41 Votes
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here