Question: What st he problem wixh hhe following code? ` ` ` a = 2 2 b = 1 1 if b > a: print (
What st he problem wixh hhe following code?
a
b
if b a:
printb is greater than a
else:
printb is not greater than a
There is no whitespace before the else statement
The condition is not correctly specified
It is not possible to directly print a number without specifying a variable
D There is no problem with the code
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
