Write a Python statement to retrieve the type of the data stored in the variable ‘a’.
Answer:
type(a)
To retrieve the type of the data stored in a variable, the type( ) method is used.
Get live Maths 1-on-1 Classs - Class 6 to 12
Very Short Answer Type Questions (1 Mark each)
Very Short Answer Type Questions (1 Mark each)
Last updated at March 16, 2023 by Teachoo
Answer:
type(a)
To retrieve the type of the data stored in a variable, the type( ) method is used.
Get live Maths 1-on-1 Classs - Class 6 to 12