Write all_digits(s) that returns True if s is made only of digits (and is not empty).
all_digits('12345')
→ Trueall_digits('12a45')
→ FalseSubmit runs 5 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.