How do you return a data type in Python?

To check the data type of variable in Python, use the type() method . The type() is a built-in Python method that returns the class type of the argument(object) passed as a parameter. You place the variable inside a type() function, and Python returns the data type.

Sizin İçin Seçtik  Can you use FG boots on 4G?

Leave a Reply

Your email address will not be published. Required fields are marked *