0

what is use of it (none)

30th Jul 2016, 4:33 PM
Aakash Sharma
Aakash Sharma - avatar
2 Answers
+ 1
None is useful for certain functions, such as input (). You can create your own functions that can accept None as a parameter, as well. IE: if you make a function that converts RGB codes into color names, you might want to put a case if None is your parameters, that returns "No input." or possibly "0,0,0 = white."
30th Jul 2016, 4:42 PM
hasee500
0
Placeholder
31st Jul 2016, 5:18 AM
SouthBay
SouthBay - avatar