0
Guys,please give me the reason for showing 'None ' in this python code in simple words
showing 'None' in code https://code.sololearn.com/cuLC4JThVu8n/?ref=app
4 Antworten
+ 4
It says None because you are not returning with the function. You are also printing two times. The print in the function will work but the other one will print None
0
thanks guys
0
its because you didnt return any balue with the function.