PCEP 30 02 PCEP Certified Entry Level Python Programmer · Free Practice Question Easy
Question 4
What does the given code snippet give as output ?
- xy = 40
- yx = 400
- print(xy != yx)
-
A
50!=500
-
B
False
-
C
True
-
D
xy != yx
Reveal correct answer
Correct answer: C
Explanation
It is the same as -
40 != 400
This returns the output as True
Discussion
Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.
You must be logged in to post a comment.
