What is meaning of ! In Python | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What is meaning of ! In Python

28th Oct 2019, 4:13 AM
Sudarshan Verma
Sudarshan Verma - avatar
4 Answers
+ 6
! Means not. Like != (not equal) Or !(true) == (false)
28th Oct 2019, 4:18 AM
๐Ÿ‡ Alex Tuศ™inean ๐Ÿ’œ
๐Ÿ‡ Alex Tuศ™inean ๐Ÿ’œ - avatar
+ 1
'!' means not For example, If u use ! In a statement like, a!=b Then it explains that variable a is not equal to variable b. It's simple and u can use it easily. Hope this helps๐Ÿ˜Š๐Ÿ˜Š๐Ÿ˜Š
9th Nov 2019, 7:19 AM
n_y_1411
n_y_1411 - avatar
+ 1
'!' means not For example, If u use ! In a statement like, a!=b Then it explains that variable a is not equal to variable b. It's simple and u can use it easily. Hope this helps๐Ÿ˜Š๐Ÿ˜Š๐Ÿ˜Š
9th Nov 2019, 7:19 AM
n_y_1411
n_y_1411 - avatar
0
means not and it almost use in all popular programming languages
30th Oct 2019, 12:23 AM
spyrax10
spyrax10 - avatar