+ 1
why the escape characters \r And \t are not working in sololearn?
3 Antworten
+ 2
\t works as I recall, \r is used by Mac or Windows IIRC, so I don't suppose they have obvious effect in Linux family environment.
Mind sharing the troubling code?
+ 1
Ipang \t is tab, but it is working like a normal space
https://code.sololearn.com/cfaaaahzRt4x/?ref=app
+ 1
Mr. 12
That is probably because what we are seeing is not a real console, it is a content of some file used to save code output in Playground. If you run your code in an actual console you will see regular tabs.