0

Back slashes not working?

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

17th Oct 2020, 1:08 AM
Samain Salia
Samain Salia - avatar
7 Respuestas
+ 4
Can we see that code ?
17th Oct 2020, 1:33 AM
Simba
Simba - avatar
17th Oct 2020, 2:22 AM
Simba
Simba - avatar
+ 1
Samain Salia print("Hello \nWorld")
17th Oct 2020, 1:34 AM
Petr
+ 1
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
17th Oct 2020, 1:36 AM
Petr
+ 1
ok thankyou all
17th Oct 2020, 3:12 AM
Samain Salia
Samain Salia - avatar
0
ok
17th Oct 2020, 1:31 AM
Samain Salia
Samain Salia - avatar
- 1
input(6 + 3 \n11 + 22)
17th Oct 2020, 1:33 AM
Samain Salia
Samain Salia - avatar