leetle

Daily challenge for 2025-07-08

189. Is String Numeric

Write a function solve that takes a string and returns True if every character in the string is a digit (0-9), otherwise False. An empty string should return False.

Example:
Input: "12345"
Output: True

Run this challenge interactively in Python or JavaScript when the app loads.