¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita2 Respuestas
+ 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.