Task:
Make a function that converts a word to pig latin. The rules of pig latin are:

```
If the word has more than 3 letters:
  1. Take the first letter of a word and move it to the end
  2. Add -ay to the word
Otherwise leave the word alone.
```

Example: `hello` = `ellohay`

Difficulty: introductory

Starter code:

def pig_latin(word):
	

Solutions:
def pig_latin(word):
    return word[1:]+word[0]+'ay' if len(word)>3 else word

def pig_latin(word):
    return word if len(word) < 4 else word[1:]+word[0]+"ay"

def pig_latin(word):
    return f"{word[1:]}{word[0]}ay" if len(word) > 3 else word

def pig_latin(word):
    if len(word) > 3:
      ay = word[0] + "ay"
      ans = word[1:]+ay
      return ans
    else:
      return word

def pig_latin(word):
    return word if len(word) < 4 else f"{word[1:]}{word[:1]}ay" 

def pig_latin(s):
    return '{}{}ay'.format(s[1:], s[0]) if len(s) > 3 else s

def pig_latin(word):
    if len(word) < 3:
        return word
    ret = word + word[0] + 'ay'
    return ret[1:]

def pig_latin(word):
    return "{}{}ay".format(word[1:], word[0]) if len(word) > 3 else word

pig_latin = lambda w: len(w) < 4 and w or "%s%say" % (w[1:], w[0])

def pig_latin(word):
    if len(word) <= 3:
        return word
    word = word[1:] + word[0]
    word = word + "ay"
    return word