None keyword in Python | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

None keyword in Python

In Python what does the statement means "We cannot create multiple None objects in Python" ?

25th Feb 2020, 3:21 PM
harshit
harshit - avatar
2 Answers
+ 2
There is only one None object in Python. You can set multiple variables to this None object but you can't have multiple None objects and they aren't necessary. Make sure you're assigning variables to None and not attempting to create new None objects.
25th Feb 2020, 3:57 PM
LeVert
LeVert - avatar
0
Hi! most likely this means what is written
25th Feb 2020, 3:41 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar