Cómo imprimir la nueva línea de texto en lugar de n en el cuaderno de Jupyter

Ex: _str = 'A\nB'
expected output: 
A
B
# Instad of printing normal 
_str
Use bellow one.
print(_str)
visualscrapper