#523 · Strings · Beginner · 25 XP · about 4 min
Write middle(word) that returns the middle of word.
'apple' gives 'p'.'moon' gives 'oo'.middle('apple') # returns 'p' middle('moon') # returns 'oo' middle('python') # returns 'th' middle('a') # returns 'a'
First solves only, ranked by stars and then time.