In Python, we can determine the type of data using type() function.
Consider a following code :
s = "CODE OF GEEKS" print(type(s))
Do you know ?
In Python, every datatype, class, function, method, list, set etc. are treated as an object.
Cook This !
Write a Python program to check the datatype of object ‘a’, where a = True.