+ 1

Why i cant write /n correctly?

Hi, i have a problem when i try to write /n in python, when i write it the cmd give me the symbol ¥ and i dont know why, help pls.

6th Aug 2019, 9:42 PM
Marce Sebas
Marce Sebas - avatar
8 Réponses
+ 5
I don't know about /n but I know the correct value is \n for creating a new line.
6th Aug 2019, 10:07 PM
Jella
Jella - avatar
+ 1
The other way i tried is doing " " " text (enter) text 2" " " python automatically write \n but cmd also give me ¥
6th Aug 2019, 10:19 PM
Marce Sebas
Marce Sebas - avatar
0
Yes, i tried both, but cmd give me the symbol ¥
6th Aug 2019, 10:17 PM
Marce Sebas
Marce Sebas - avatar
0
i think that happens when ur pressing the alt key or something... not sure
6th Aug 2019, 10:26 PM
Shravya
Shravya - avatar
6th Aug 2019, 10:49 PM
Marce Sebas
Marce Sebas - avatar
0
It's possible i cant write \n in a list?
6th Aug 2019, 10:53 PM
Marce Sebas
Marce Sebas - avatar
0
I eliminated the list and change it to a string
6th Aug 2019, 11:00 PM
Marce Sebas
Marce Sebas - avatar
0
Ty all
6th Aug 2019, 11:01 PM
Marce Sebas
Marce Sebas - avatar