+1 vote
in Python by
What is the type () in Python?

1 Answer

0 votes
by

type() is a built-in method which either returns the type of the object or returns a new type object based on the arguments passed.

ex: a = 100

type(a)

o/p: int

Related questions

+1 vote
asked Feb 15, 2021 in Python by SakshiSharma
+1 vote
asked Feb 13, 2021 in Python by SakshiSharma
...