Type of input
Easy Accuracy: 23.31% Submissions: 485 Points: 2

Given an input N , print the data type of the input N.
eg:-Sequence of digits -- int
      Sequence of digits with a dot -- float
      Sequence of chars  -- string
      Single non-digit char --- char

Input:
The first line of input contains an integer T denoting the number of test cases.The first line of each test case is N.

Output:
Print the data type of the input.

Constraints:
1 ≤ T ≤ 50
1 ≤ length of input ≤ 100

Example:
Input: 
2
12
gfg

Output:
int
string

to report an issue on this page.

Editorial

We strongly recommend solving this problem on your own before viewing its editorial. Do you still want to view the editorial?

Yes

All Submissions

My Submissions:

Login to access your submissions.