None value | Sololearn: Learn to code for FREE!

+3

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

arbaaz

2 Answers

New Answer

+2

Thank you.

0

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.