QuestionQ72
VerifiedMiscellaneous (List Comprehensions, Lambdas, Closures, I/O)What behavior is expected from the following code?
x = 3 % 1
y = 1 if x > 0 else 0
print(y)
What behavior is expected from the following code?
x = 3 % 1
y = 1 if x > 0 else 0
print(y)
Community Discussion