What is Typeof in Python?

type() method returns class type of the argument(object) passed as parameter . type() function is mostly used for debugging purposes. Two different types of arguments can be passed to type() function, single and three argument. If single argument type(obj) is passed, it returns the type of given object.13 Eki 2020

Sizin İçin Seçtik  How do you check if an instance is in a list Python?

Leave a Reply

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