describe the data types which contain a collection of data in Python
Answers
Answered by
1
They are defined as int , float and complex classes in Python. We can use the type() function to know which class a variable or a value belongs to. Similarly, the isinstance() function is used to check if an object belongs to a particular class. Integers can be of any length, it is only limited by the memory available.
Similar questions