+ 3
None value
In Python, when you get the return value as "None", what does it mean, and how does it work?
2 odpowiedzi
+ 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.