Question-81: When you run below program, what would be printed on console?
X=10
Y=10
Z=10.
A=5
print(X!=Y, X!=Z, X!=A)
- True True False
- Get all Questions and Answer from here
- You need to have paid subscription to access all questions
- Thanks for considering Python Certification Material
Answer: E
Exp: Its simple
Inequality Operator
- If you want to check and confirm whether two variables are holding different values or not.
- Inequality operator is like “!=”.
-
You can access to full explanation to question and answer from this page.