LearnPy Hub
← Strings problems
Easy

Middle Character

Read a word with an odd number of letters and print its middle character.

Input

One word (odd length).

Output

One character.

Sample 1

Input
abc
Output
b

Sample 2

Input
python!
Output
h
solution.py
Output appears here
Middle Character · Python practice problem · LearnPy Hub