Post

@PythonPr Answer: B) B
Simple logic:
› a = 5, b = 10
› Is 5 > 10? No (False)
› Condition fails → else block runs
› Prints "B"
For beginners: if condition is False, else block executes. Think: "if not this, then that"
English

@PythonPr Answer: B)
a > b is False (5 is not greater than 10), so the else block runs and prints "B".
English

@PythonPr B) B is the right answer.
Here simple use of if and else condition.
Value of a = 5 assignment opertaor
Value b = 10 assignment opertaor
5>10 this condition is false then answer B is correct.
English

@PythonPr Python checks the condition first. Since 5 isn’t greater than 10, it prints B.
English

@PythonPr B. The else statement runs since a is not greater than b.
English

@PythonPr Question Answer is B) B
Because
A) = 5 > B) = 10 : NO !! B > A is true answer of question. So (False)✅
English

@PythonPr B)
Since a = 5 and b = 10, the condition a > b is false, so the else block runs and prints "B".
English

@PythonPr 1. A is not a
2. B is not b
.....
Error....or ..nothing
English




























