about | help | code help+videos | done | prefs |
Write a function piglatin(word) that returns the pig latin equivalent of the string word. Pig latin moves the first character of the string to the end, and follows it with ’ay’. For example, pig latin for ’python’ is ’ythonpay’. piglatin('banana') → 'ananabay' piglatin('happy') → 'appyhay' piglatin('duck') → 'uckday' ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Copyright Nick Parlante 2017 - privacy