LearnPy Hub
← Data Types & Casting problems
Hard

Sort Out Mixed Values

A line holds values separated by spaces. For each value print its type: int if it is a whole number (maybe negative), float if it is a decimal number, otherwise str.

Input

One line.

Output

One line of type names.

Sample 1

Input
12 3.5 hello -7
Output
int float str int

Sample 2

Input
a b c
Output
str str str
solution.py
Output appears here
Sort Out Mixed Values · Python practice problem · LearnPy Hub