Are Python web terminal and Python app terminal different? | SoloLearn: Learn to code for FREE!

+11

Are Python web terminal and Python app terminal different?

I made pattern of aki in python but when I print space it doesn't work on web terminal but works here. Here is my code. Just enter aki and see the effect on website and here. https://code.sololearn.com/co5ZzR9LUnI4/?ref=app

3/1/2021 5:55:12 AM

🅰🅹 (Challenge Accepted)

5 Answers

New Answer

+4

Yes I think so, as I also had the same experience. Whitespaces are not printed (or ignored) in web version when I try to print pattern like this. But I think it is device dependent since it is working fine on some users (like one of the answerer here in this thread) Here is my past question regarding this similar problem. https://www.sololearn.com/Discuss/2624385/?ref=app

+4

Eve Same problem is happening with C++ language also.

+4

Eve that's strange if in web some user have 'pre' formatting while others doesn't (spaces collapse)... as in all cases output is done in html ^^ is it related to device/platform?

+2

funny that you mentioned this i was wondering the same thing when i posted https://code.sololearn.com/c3a12a8a5a22/?ref=app today lol looks great from my comp inside my IDE but a huge mess in web terminal

-3