how to find data type in python | Complete Python Tutorial

There is an inbuilt method in python called "  type(variable) ".
lets you want to know the type of a variable "a"
you just have to write "type(a) "

For a better explanation see the following source code:-


The output of above code:-

No comments:

Do not add any link in the comments.
For backlink, contact us.

Powered by Blogger.