Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite0
how to print \n in python?
3 Réponses
+ 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 😊