Write first_digit(n) that returns the first (leftmost) digit of a positive whole number.
first_digit(5823) → 5
first_digit(7) → 7
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.