From 2e6915d81ad3643f7f78baa8ce3bdb85bb2642af Mon Sep 17 00:00:00 2001 From: donkjacob <49595254+donkjacob@users.noreply.github.com> Date: Sat, 19 Oct 2019 19:31:14 +0530 Subject: [PATCH] Create sample2 trying pull --- sample2 | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 sample2 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())