Advertisements
Advertisements
Question
Give the output of the following when num1 = 4, num2 = 3, num3 = 2.
print(10 != 9 and 20 >= 20)
Short/Brief Note
Advertisements
Solution
print(10 != 9 and 20 >= 20)
print(True and True)
print(True)
Therefore, the output will be 'True'.
shaalaa.com
Relational Operator (>,>=,<=,=,!=)
Is there an error in this question or solution?
