Ad
Code
Diff
  • def split(word):
        return [x for x in word]
    • def split(word):
    • # if word is "hello" returns ["h", "e", "l", "l", "o"]
    • return [x for x in word]