Extract First Character From String Python Exercises Hackerrank