What are the various Data types used in Python explain with example.
Example 1: python data types
age = 18
current_balance = 51.28
is_tall = False
message = "Have a nice day"
my_list = ["apples", 5, 7.3]
my_dictionary = {'amount': 75}
coordinates = (40, 74)
my_set = {5, 6, 3}
Example 2: what is the type of the data python
>>> type(1234)
<class 'int'>
>>> type(55.50)
<class 'float'>
>>> type(6+4j)
<class 'complex'>
>>> type("hello")
<class 'str'>
>>> type([1,2,3,4])
<class 'list'>
>>> type((1,2,3,4))
<class 'tuple'>
>>> type({1:"one", 2:"two", 3:"three"}
<class 'dict'>