Fixed point

Report a typo

Find a value x such that when Python converts it to a boolean using bool(x), the result is equal to x itself. In other words, x is a fixed point of the bool() function if bool(x) == x evaluates to True.

Do not write bool() in your answer — just provide the value of x.

Enter a short text
___

Create a free account to access the full topic