LearnPy Hub
← Data Types & Casting problems
Easy

What Type Is It?

Read a line and print the type of the value returned by input() using type().

Input

One line of text.

Output

The type, as printed by Python.

Sample 1

Input
42
Output
<class 'str'>

Sample 2

Input
hello
Output
<class 'str'>
solution.py
Output appears here
Hints
What Type Is It? · Python practice problem · LearnPy Hub