1>>> type(1234)
2<class 'int'>
3>>> type(55.50)
4<class 'float'>
5>>> type(6+4j)
6<class 'complex'>
7>>> type("hello")
8<class 'str'>
9>>> type([1,2,3,4])
10<class 'list'>
11>>> type((1,2,3,4))
12<class 'tuple'>
13>>> type({1:"one", 2:"two", 3:"three"}
14<class 'dict'>
15
1To find the data type of data in Python, you use the type() function. You place the variable inside of the type() function and Python returns the data type