I cant understand this 1 != 1...what mean this ! ; | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

I cant understand this 1 != 1...what mean this ! ;

help

31st Jan 2018, 8:45 PM
Reptilian Hermit
Reptilian Hermit - avatar
4 Antworten
+ 4
The != operator is a relational operator. It means "not equal to." So, this is basically saying 1 != (is not equal to) 1.
31st Jan 2018, 8:54 PM
Dread
Dread - avatar
+ 3
Well, kinda; but NOT is boolean logic. Try not to get them mixed up. 😂
31st Jan 2018, 8:59 PM
Dread
Dread - avatar
+ 1
so ! it's same with NOT; for example: 1not=1 false Because the 1 equal to 1....it's correct; if I replace (!) with (not);
31st Jan 2018, 8:56 PM
Reptilian Hermit
Reptilian Hermit - avatar
0
nd what else do I do not know good English I can learn a programming language because I am from Greece
31st Jan 2018, 9:04 PM
Reptilian Hermit
Reptilian Hermit - avatar