Search results
19 lut 2015 · I'm sure it could use some work as I'm just getting going in Ruby, so anything and everything would be helpful. The clean-up function, I think, could especially use work. It gets the job done, but w/o it there is always a space at the end, and str.strip wasn't getting the job done. ruby. pig-latin. Share.
8 kwi 2013 · Pig Latin consists of removing the first letter of each word in a sentence and placing that letter at the end of the word. This is followed by appending the word with letters "ay". Example. Input: THIS IS A TEST Output: HISTAY SIAY AAY ESTTAY. I want to know if there is any way to write this part of the code in a different/better way:
6 lip 2018 · 7. Over the last few days I created this Pig Latin Translator just for fun. I would really appreciate it if anybody could give suggestions of how to improve the code and make the program more efficient. Here is the GitHub link for the project. For anybody who doesn't know the Pig Latin, feel free to look at the README, which explains what Pig ...
7 lis 2019 · pig_latin_suffix = 'ay' You stated that the goal was to be short, so I won't go too into this, but you should make use of functions here. You have a couple discreet things going on here:
9 lis 2015 · The prompt is as follows: Write an interactive program that reads lines of input from the user and converts each line into Pig Latin. Terminate the program when the user types a blank line. Words beginning with consonants have the consonant moved to the end of the word and "ay" appended. Words beginning with vowels simply have "ay" appended.
20 kwi 2016 · What improvements can I make to the following Pig Latin translator? So far, I've been wondering about the FlexibleInstances declaration, but I can't think of how to remove it (since it's required for PigLatin String in instances, which is required for me to use " "in the Monoid instance; I need the extra type argument for Functor).
9 maj 2016 · I am a relatively new Python programmer and made a simple Pig Latin to English translator and vice versa. I would just like it if someone reviewed my code and see if anything can be done to make it more Pythonic or efficient. to_piglatin = input("Do you want to translate something to piglatin[P], or to english[E]: ")
19 lut 2015 · Java Pig Latin Translator. 2. Go pig Latin translator. 7. Pig Latin translator in C. Hot ...
5 wrz 2019 · This is a program for converting English to the pseudo-language Pig Latin. Not the strictest form of Pig Latin but it most likely will accurately output an argument in Pig Latin.
13 kwi 2017 · I think this is a great way to work on your skills, and I applaud your perseverance here. In particular, it is important to recognize that building software is incremental, and ideally there is a tight loop of development, review, re-factoring, re-review, etc.