-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question 5: zero sum is "possible" ? #39
Comments
Let's break it down a bit:
>>> y=float("nan")
>>> y==y
False In the end, why did you use |
When we look at Question 5: zero sum the answer tells "No. This snippet is impossible." |
Thanks for the report. But you can't use NaNs. Those are considered "trick" answers for the purpose of the quiz, because NaNs have edge cases that have nothing to do with Python, and it would be unfair to expect people to know them all. This is the first bullet point under the "Details and Scope" section. If you think there's a clearer way to say this, I'm open to it. |
So we have that question
if x equal one of
and
that snippet is possible.
For ex:
Please correct me if I'm wrong.
The text was updated successfully, but these errors were encountered: