Question: In the following code, expression 1 and expression 1 are Boolean expressions. if ( expression 1 ) : print ( ' result 1 ' )

In the following code, expression1 and expression1 are Boolean expressions.
if (expression1):
print('result1')
if (expression2):
print('result2')
which of the following is not a correct statement?
It is possible that only result1 is printed.
It is possible that neither result1 nor result2 is printed
Only one of result1 and result2 may get printed.
It is possible that result1 and result2 can both be printed.)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!