a=1
isinstance(a,int) True
isinstance(a,bool)False
a=True
isinstance(a,int) True
isinstance(a,bool) True
isinstance(int,bool) False
isinstance(bool,int) False
a=1
isinstance(a,int) True
isinstance(a,bool)False
a=True
isinstance(a,int) True
isinstance(a,bool) True
isinstance(int,bool) False
isinstance(bool,int) False
>