Answers for "get type of data in python"

23

how to get the type of a variable in python

age = 28
#To get the type us following command
print(type(age))
Posted by: Guest on June-30-2021
0

how to find the data type in python

x = 5
print(type(x))
print(type("python")
Posted by: Guest on December-21-2021

Code answers related to "get type of data in python"

Python Answers by Framework

Browse Popular Code Answers by Language