This question already has an answer here:
I'm asking this to find a consensus on whether it's okay for an answer to use
False in place of the language's corresponding integer values -- as output in a sequence, for example.
So if the challenge is to output the Fibonacci sequence forever, and your output is
False, True, True, 2, 3, 5, 8, ...
True==1 in the language, then this would be acceptable. This is the case for Python. Some languages use
True, so whatever the language uses for the Boolean value is the value that it may be substituted for.
So what do you think? I think it makes sense to allow it. I know there are already answers doing this, but I don't remember where.