

Testing the data type of a value

When I run the following code, I get the following output:
>>> print(type(5))
class 'int'

Next, I try to compare the data-type of 5 with the earlier output, I get no output:
>>> if type(5) == "<class 'int'>":

Why isn't this working? Advance thanks for your time.

and regards from