+ 4
Why does print (print('print')) give me print \n None??
3 ответов
+ 7
Print function outputs its received parameter and puts the cursor to the next line. It doesn't return anything
So the inner print function prints the word 'print' moves the cursor to the next line ('\n') and now doesn't have any value, so the best description for it is None. And the outer print function prints its received parameter None
+ 1
Thanks Bro..
0
It finally answer is print("print")