New course! Every coder should learn Generative AI!
Try a free lesson2 Answers
+ 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.