Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren0
how to print \n in python?
3 Antworten
+ 12
print("\\n")
Hope this helpful! Programming is fun! 😄🤗
+ 2
Another way is to specify that the string is a 'raw-string' :
print(r"\n")
+ 2
Thank You Guys 😊