This is the presentation associated with the python logical operators video.
[dflip id=”2308″ ][/dflip]
Python Logical Operators Video Question
This is the question that was asked in the python logical operators video
Question : What is the output of the following code:
1. True
2. False
In [ ]:
a = 2
b = 2.0
print(False and (a == b))
[bg_collapse view=”button-blue” color=”#ffffff” icon=”eye” expand_text=”Show Answer” collapse_text=”Hide Answer” ]
In [1]:
a = 2
b = 2.0
print(False and (a == b))
[/bg_collapse]