Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren2 Antworten
+ 5
It's a newline character. Not just in Python.
https://www.sololearn.com/learn/Python/2274/
+ 2
In python \n is used for break line.
We can join strings using this character, and it's possible to split strings using \n as well.
But this isn't really useful for user input.