Q11Multiple correct3 Marks24 Dec 2023
Consider the following code-blocks. `E` is a Boolean expression. Two blocks of code are said to be equivalent if they produce the same output for a given input.
Block-1:
```
Consider the following code-blocks. `E` is a Boolean expression. Two blocks of code are said to be equivalent if they produce the same output for a given input.
Block-1:
if E:
print('good')
else:
print('bad')
Block-2:
if E:
print('good')
print('bad')
Block-3:
print('good')
print('bad')
Select all true statements.
```