How to check data type in Python
Data types are essential determine the kind of values that can be stored in a variable and the operations that can be performed on them . Python has several built-in data types such as: integer(int),floating- point number(float),strings(str),lists(list),tuples(tuple),dictionaries(dict) Method 1: Using the type() Function The simplest way to check the data type of an object in …