fork download
  1. text = "Your team should include the following \\nboard-certified experts:\\n \\nA pulmonologist is a doctor who's an \\nexpert of lung diseases.\\n"
  2.  
  3. def process(text):
  4. return text.replace("\\n", "\n")
  5.  
  6. formatted_text = process(text)
  7. print(formatted_text)
Success #stdin #stdout 0.03s 9536KB
stdin
Standard input is empty
stdout
Your team should include the following 
board-certified experts:
 
A pulmonologist is a doctor who's an 
expert of lung diseases.