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

 

konstans@stuy.edu all > pigLatinSimple
prev  |  next  |  chance

Pig Latin: Given a single word of at least 1 character. words that start with a,e,i,o,u -> add 'hay' to the end of the word other words, move the first letter to the end, and add 'ay' to the word.


pigLatinSimple('mock') → 'ockmay'
pigLatinSimple('pie') → 'iepay'
pigLatinSimple('david') → 'avidday'

...Save, Compile, Run (ctrl-enter)

def pigLatinSimple(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