All Questions
2 questions
1
vote
1
answer
3k
views
Finding possible positions for rectangle in a 2-d array
Well, the title is not very appropriate, please read on (I couldn't get a better one).
Note: Using Python 2.7, but an algorithm will help too.
I'm making a side scroller game, in which I am ...
3
votes
1
answer
164
views
Tests for emptiness vs tests for nothingness
Is there any consensus between languages how tests for emptiness are distinct from tests for noneness? In python the following expression is false:
{} is {}
However this expression evaluates to True
...