如题。好兄弟们,如果能给个实例就更好了。🌚
1
ch2 2021-09-07 14:55:13 +08:00 1
type(a)==type(b)
|
2
coolair 2021-09-07 14:57:02 +08:00 1
isinstance(a, CLASS) and isinstance(b, CLASS)
|
3
bytesfold 2021-09-07 15:15:46 +08:00 1
issubclass 和 isinstance
|
4
OwO233 OP 谢谢大佬们。OwO
|