Value Type Finder

Python Easy 6 views
Back to Questions
Next String Number Add Easy N

Problem Description

Read one token. Decide its data type using simple rules: True/False is BOOL, signed digits is INT, number with dot is FLOAT, otherwise STRING. Output the type name.

Input Format

One token (no spaces).

Output Format

One word: BOOL/INT/FLOAT/STRING.

Sample Test Case

Input:
12.50
Output:
FLOAT

Constraints

Token length

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Next