| |
| |
| |
|
Comments:
<0> I want to use higher dimensional vectors (like 4 dimensional) in visual python, and display their projections, anyone care to help? <1> if ((LN != 'USA D1') or (LN != 'ARG D1')): <1> LN is not 'USA D1' <1> but he still get into the "if" <1> if (LN != 'USA D1'):
<1> like this its working fine, someone know the problem ? <1> how can i replace the "or" ? and with what <2> or means either can be true <2> what do you actually want to do? <1> i have variable that could contain 2words, if he conatain one of those words, i want him to p*** the if, else, he should get into the if <1> but with my if now, he is always getting into it <2> you are testing whether it is NOT equal to 'USA D1' OR it is NOT equal to 'ARG D1' <2> think about x != 1 or x != 2 <2> that's always true <2> if you want to test whether it is equal to 1 OR it is equal to 2, then use ==, not != <1> yea but if LN == 'USA D1' <1> ahh <1> i should put and <2> no <2> think about x == 1 and x == 2 <2> that's NEVER true <1> right. <2> (when dealing with normal integers, anyway)
<1> hehe yea <2> if you want to know whether x is 1 OR x is 2, then x == 1 or x == 2 <1> so why the or doesnt work ? <2> because I just told you: x != 1 or x != 2 <2> that's ALWAYS true <2> every number is either not equal to 1, or not equal to 2 <1> ohh <1> damn:\ <1> ok its 3.34am here :) <1> the hour affect me. <2> if you want to test whether it's equal to A or it's equal to B, then write that: x == A or x == B <2> well it sounds like you probably want to read some books or take some courses on basic programming <1> nah.. i wasnt focused <1> thank you very much <2> sure <3> 'morning guys :) <4> I wish I could get my hands on this tool http://www.tuxed.de/vimpst/video.html <5> indigo^: that's not a bad idea at all <6> whoa
Return to
#python or Go to some related
logs:
#hardware LENNIX LEWIS STATS
friee movies ru
#politics uno manual.pdf hddunlock for windows me flash loadClip progressbar california homestead act
#beginner #gentoo
|
|