Closed maybuhleen closed 6 years ago
That's a fair point. I didn't actually think of the results of people were to try and run those commands. I was just thinking of the boolean operators. So I made the examples executable and valid code. And they now cover a more complete set of boolean operators.
Under "Boolean Relationships", the following throws a TypeError: dist < (10 + 2j)
"dist" is defined as a float (4.9) in the previous lines.
Would we want to compare the real component of the complex number instead? dist < (10 + 2j).real