How to make escape sequences in Python 'str' datatype work?

Hey, I bumped into a problem. I was trying to print my string datatype with an escape sequence but unfortunately, it didn’t work. I’m pasting my shell commands here:

>>> name = 'Safia\\nFaiz'
>>> print(name)
Safia\nFaiz

I want my output to look like this:

Safia
Faiz

How can I do this?