Which symbol is used for NOT logical operator? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Which symbol is used for NOT logical operator?

16th Jul 2017, 2:47 PM
Prabin Kumar Sahu
Prabin Kumar Sahu - avatar
8 Answers
+ 3
.. != .. .. !== .. !(.. == ..)
16th Jul 2017, 2:56 PM
The Coding Sloth
The Coding Sloth - avatar
+ 16
!
16th Jul 2017, 2:48 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 4
More or less, !
17th Jul 2017, 6:53 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 2
!true == false // true !false == true // true !true == true // false !false == false // false 😀 !!true == ? // now your answer
16th Jul 2017, 2:50 PM
Вап
+ 1
but there is no out put for symbol !
16th Jul 2017, 2:49 PM
Prabin Kumar Sahu
Prabin Kumar Sahu - avatar
+ 1
so please give me an example....
16th Jul 2017, 2:50 PM
Prabin Kumar Sahu
Prabin Kumar Sahu - avatar
+ 1
It depends on which programming language you are using to make a decision: C++, JavaScript, PHP: if (a != b) {} or if (!(a == b)) {} ----------------------------------------- Python: if a != b: task() or: if not (a == b): task()
16th Jul 2017, 3:06 PM
Allaberdi Abdyrasulov
Allaberdi Abdyrasulov - avatar
0
Opoopppppop
18th Jul 2017, 3:58 PM
Brandon vanderschaaf