阅读背景:

Not operator, seemingly wrong in Python?

来源:互联网 

I am new to python and created a small function that does a cluster analysis. The quick rundown is I have to compare two arrays a multitude of times, until it no longer changes. For that I have used a while loop, that loops as long as they are not equal, but I find that I get two different results from != and not ==. MWE:I am new to python and created a small function




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: