Computers and Technology
Computers and Technology, 29.06.2019 17:50, hHRS8801

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

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 24.06.2019 14:00, Abrahamolve
When creating a field in a table, you must set the to determine what type of data the field can store. field property data type field type data property
Answers: 1
image
Computers and Technology, 24.06.2019 17:40, orlandokojoasem1234
Write an assembly language program to input a string from the user. your program should do these two things: 1. count and display the number of words in the user input string. 2. flip the case of each character from upper to lower or lower to upper. for example if the user types in: "hello there. how are you? " your output should be: the number of words in the input string is: 5 the output string is : hello there. how are you?
Answers: 2
image
Computers and Technology, 25.06.2019 05:00, mytymikey123
How does computer network work in a paragraph
Answers: 1
image
Computers and Technology, 25.06.2019 16:00, Marliii363782
When entering new data into your table, which key should you press to move from one field or cell to the next?
Answers: 1
Do you know the correct answer?
Develop a python program which will convert english words into their pig latin form, as described be...

Questions in other subjects: