Type of input
Submissions: 457   Accuracy:

24.08%

  Difficulty: Easy   Marks: 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

** For More Input/Output Examples Use 'Expected Output' option **

Author: Shubham Joshi 1


If you have purchased any course from GeeksforGeeks then please ask your doubt on course discussion forum. You will get quick replies from GFG Moderators there.



Need help with your code? Please use ide.geeksforgeeks.org, generate link and share the link here.


to report an issue on this page.