+ 1
What's the functionality of (end,sp) in print function
why the output of this code(0n9) is like that shouldn't it be(9) only https://code.sololearn.com/cSlcDXNzIdhp/?ref=app
2 Réponses
+ 2
the zero is printed because the == statement is False:
int(False) = 0
next is 'n'
and finally the sum is printed because this is not indented and not in the if loop.
also, this could help
https://www.sololearn.com/discuss/1411735/?ref=app
0
Thanks a lot I now understand it