1. Engineering
  2. Computer Science
  3. write a function called myisdigit which accepts a single parameter...

Question: write a function called myisdigit which accepts a single parameter...

Question details

Write a function called myIsDigit which accepts a single parameter (a string) and returns True if every character in the string is a digit and False otherwise. You may NOT use Python’s isdigit method.

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution