solutions

Write a function that receives one single param, and returns a String explaining which type of object the param is.

If given param is not instance of any of the basic data types, say you don't know what it is.

hint: you might want to use the isinstance() Python built-in function to determine which type a param is.

Examples:

>>> what_is_this(1)
"This is an Integer."
>>> what_is_this("Hello World!")
"This is a String."
>>> what_is_this(True)
"This is a Boolean."
>>> what_is_this(2.8)
"This is an Float."
>>> what_is_this(object())
"I have no idea what this is"

Test Cases

tests

[]