Hi @Akshay986,
True is close to an integer in Python but it’s actually a boolean and type(True) gives:
<class ‘bool’>
Also, isinstance(True, bool) gives True apart from isinstance(True, int) (This happens because of Inheritance).
But the important part that True behaves like an integer. You can use it in arithematic operations and it will behave exactly like a 1. Similarly, False also behaves like a 0.
This is happens because of some smart typecasting from Python.
Regarding your previous doubts, try accessing them through the activity panel at http://discuss.codingblocks.com/
Hope this helps!