subject

Develop a python program which will convert english words into their pig latin form, as described below. the program will repeatedly prompt the user 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 consonant, remove all consonants from the beginning of the word and append them to the end of the word. then, append “ay” to the end of the word. for example: "dog" becomes "ogday" "scratch" becomes "atchscray" "is" becomes "isway" "apple" becomes "appleway" "hello" becomes "ellohay" "a" becomes "away" the program will halt when the user enters “quit” (any combination of lower and upper case letters, such as “quit”, “quit” or “quit”). suggestions: a) use .lower() to change the word to lower case. b) how do you find the position of the first vowel

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 13:00
Which option should u select to ignore all tracked changes in a document
Answers: 1
question
Computers and Technology, 23.06.2019 02:30
Rafael needs to add a title row to a table that he has inserted in word. what should he do? use the alignment options. use the merge and center option for all the cells in the top row. use the merge and center option on the first two cells in the top row. none of the above
Answers: 3
question
Computers and Technology, 23.06.2019 21:20
In microsoft word, when you highlight existing text you want to replace, you're in              a.  advanced mode.    b.  automatic mode.    c.  basic mode.    d.  typeover mode
Answers: 1
question
Computers and Technology, 24.06.2019 10:00
(, urgent need): how do i change my username
Answers: 1
You know the right answer?
Develop a python program which will convert english words into their pig latin form, as described be...
Questions
question
Mathematics, 16.10.2019 00:20
Questions on the website: 13722360