Evaluate objects in a boolean context. Writing if a: or while a: in a program, where a is some object, requires evaluation of a in a boolean context. To see the value of an object a in a boolean context, one can call bool(a). Try the following program to learn what values of what objects that are True or False in a boolean context:
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here