id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

david.white@denison.edu cs112fall2015 > piglatin
prev  |  next  |  chance

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)

def piglatin(word):

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Python Help

Copyright Nick Parlante 2017 - privacy