None value | Sololearn: Learn to code for FREE!


None value

In Python, when you get the return value as "None", what does it mean, and how does it work?

6/4/2018 11:38:48 PM


2 Answers

New Answer


Thank you.


None is typically used to identify that what is being returned has no given value, therefore returning nothing. Whenever a variable has no value or a function is unable to return anything, then none is usually returned instead.