Google News
logo
Python - Interview Questions
How will you check in a string that all characters are digits?
isdigit() : Returns true if string contains only digits and false otherwise.
Advertisement