Back slashes not working? | Sololearn: Learn to code for FREE!


Back slashes not working?

Every time I try to use them to separate it sentence, it's turns out to be an error.

10/17/2020 1:08:45 AM

Samain Salia

7 Answers

New Answer


Can we see that code ?


Samain Salia You're looking for something like this?


Samain Salia print("Hello \nWorld")


Samain Salia input("6+3\n11+22") .you need remember about types. "\n" is an element of string. In your example you try use it with INT type


ok thankyou all



input(6 + 3 \n11 + 22)