+ 2
Why do this code outputs "No output"?
I think that there is a difference between printing out spaces and no output, or do I misunderstand something? https://code.sololearn.com/cfxWRdp0PmPN/?ref=app
6 Réponses
+ 2
@Rajeeb
I know your point, but i expect the output to be :
' '
rather than :
No output
+ 5
Seems like there's no difference between just printing whitespace and "No Output" on Sololearn :|
+ 4
李立威 - I don't know for sure. Maybe you could try sending feedback to info@sololearn.com
+ 2
I'd imagine it's because Python ignores whitespace. It should perserve it since it's inside of the parentheses, but Pythons a weird language so who knows...
0
write something inside paranthesis
0
@Rahul George
That may make sense. Is this a bug or something?