diff --git a/sample2 b/sample2 new file mode 100644 index 0000000..7bf6f77 --- /dev/null +++ b/sample2 @@ -0,0 +1,9 @@ +def pig_latin(word): + first_letter = word[0] + if first_letter in 'aeiou': + pig_word = word +'ay' + else: + pig_word = word[1:] + first_letter +'ay' + print(pig_word) +pig_latin('word') +#print(pig_latin())