Run ❯
Get your
own Python
server
Result Size:
625 x 565
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
class myObj: name = "John" y = myObj() x = isinstance(y, myObj) print(x)
x
class
myObj
:
name
=
"John"
y
=
myObj
()
x
=
isinstance
(
y
,
myObj
)
print
(
x
)
True