Post

@PythonPr This code outputs D. Because score is not greater than 90, score is;t greater than or equal to and not less than 90, and score is DEFINITELY not equal to 100.
English

@PythonPr it is "D" and not "B" because in "B" it is asking for score to be 90 as well as less than 90 in an "and" operator, which does not work. as for "A" and "C" it is obv. so it is "D".
English

@PythonPr Score is 90. When we matching the score with any conditions, first condition is not met, second condition is impossible to met (any number in world cannot be GEQ to 90 and less than 90 at once). Third condition is not met. So the D is output.
English


@PythonPr Answer: D
Solution: score is initialized to 90. Let's now go through the if-elif-else ladder.
The if-condition is
score > 90
Because the value of score is 90, this condition is False.
That is because it is > and not >=
So we go the elif
score>=90 and score<90
+
English
























