Help me in solving PYTHCL25B problem

My issue

Checking the type of variables
You can check the type of any variable or value by using the type function.

a = 5
print(type(a))
The above code gives <class ‘int’> as the output as the variable
a
a is of type
i
n
t
int.

Task
You are given some variables in the code editor. Print the types of all these variables in separate lines.

My code

a = 3
b = 5.8
c = 'hello'
d = True
# Print the types of these four variables
print(int(a))
print(float(b))
print(str(c))
print(str(d))

Learning course: Learn Python Programming
Problem Link: https://www.codechef.com/learn/course/rcpit-python/RCPITPY07/problems/PYTHCL25B