Whats stands "!" In coding | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

Whats stands "!" In coding

29th Jun 2020, 6:45 PM
Ultimate Sakshamz
3 Respostas
+ 3
! Stands for 'not' in most of the programing languages . Like: if 1 != 2: print('not equal') >>>not equal
29th Jun 2020, 6:58 PM
Apurbow Kumar Das
Apurbow Kumar Das - avatar
+ 1
Thanks i understood :)
29th Jun 2020, 6:52 PM
Ultimate Sakshamz
+ 1
In many programming languages (except in Python) ! also stands for negation opetation, which turns a boolean value into the opposite one. !true ---> false !false ---> true
29th Jun 2020, 7:40 PM
Seb TheS
Seb TheS - avatar