"""author: @pythonpips"""

'12345'.isdigit() # True

'AC1948'.isdigit() # False
How to Check if a String is Digit in Python

Subscribe to our newsletter