Only Digits Check

Python Easy 3 views
Back to Questions

Problem Description

String s is provided (no spaces). Output YES if all characters are digits, else NO.

Input Format

One string s.

Output Format

YES or NO.

Sample Test Case

Input:
1205
Output:
YES

Constraints

1

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next