+ 1

Is None same as null?

20th Jan 2017, 2:50 PM
Zarko Nemcanin
9 odpowiedzi
+ 9
It is! (null is like none for other languages...)
20th Jan 2017, 2:54 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 7
A = ["A", "B"] A[2] is undefined. I'm not sure if this is the same as None, but null means an absence of value. It's not the same as undefined.
20th Jan 2017, 4:14 PM
David Sebastian Keshvi Illiakis
David Sebastian Keshvi Illiakis - avatar
+ 4
while in other programming languages sometimes we have to declared a variable as 'null' (basically for count like count = null;) that means it don't have anything within it. but latter we increase it depending upon our programming logic and print the result. same thing happens in python but difference is we use 'None' instead of 'null'. because different programming languages have their own coding style.
22nd Feb 2017, 11:25 AM
Purna Chandra Pradhan
Purna Chandra Pradhan - avatar
+ 3
yes
20th Jan 2017, 4:18 PM
Mohamed Eldsoky
Mohamed Eldsoky - avatar
+ 1
null is some default symbol, but None stay a address only no values
10th Feb 2017, 12:49 AM
karlxu
karlxu - avatar
0
well not exactly. None means nothing and null means unknown
20th Jan 2017, 3:09 PM
Elite
Elite - avatar
0
Null doesn't exist in Python. Actually, under the cover, in C, the None value is used to represent None, and null is used to say "something's wrong".
20th Jan 2017, 7:19 PM
Amaras A
Amaras A - avatar
0
Yes, the exact same
2nd Mar 2017, 3:44 PM
Rodney Jackson
Rodney Jackson - avatar