A
A
aANDREIQA2012-07-16 16:11:13
Python
aANDREIQA, 2012-07-16 16:11:13

Is an article about using is with int objects in python necessary?

Good afternoon. Over the weekend, I wrote a question on the topic of the subject on StackOverflow.
This question got quite a lot of votes and I got a pretty good answer, after I did a little analysis. Will this article be interesting on Habré? Or is the topic trivial and mundane enough?

the question was called: Why (0-6) is -6 = False?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
Mikhail Podgursky, 2012-07-16
@kmmbvnr

A-ha-ha, in java there is a similar joke with Integer.
Didn't know it was the same in python.

M
MikhailEdoshin, 2012-07-16
@MikhailEdoshin

But (0-5) is 5 = True:) Why not write, the feature is not the most famous, let it be.

B
Bunny Fluffy, 2012-07-16
@Krolick

Everyone needs it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question