Write middle(s) that returns the middle character of a string with an odd length.
middle('abcde')
→ 'c'middle('x')
→ 'x'Submit runs 4 tests, including hidden edge cases.
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.