Uses of None | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

Uses of None

Can someone say the other uses of the None??

19th Jan 2018, 5:36 AM
Bony Joseph
Bony Joseph - avatar
1 Respuesta
+ 3
As a unique type of value it is good for variable initialization, for example. Also, in debugging, for similar reasons. Many methods, when returning None, means something went wrong.
19th Jan 2018, 9:47 AM
Kuba Siekierzyński
Kuba Siekierzyński - avatar