Post

PythonPython

s
sumana reddy

Posted on 29th March 2024|85 views

0
votes

Python Unexpected Character After Line Continuation Character

How to resolve the error unexpected character after line continuation character in python?

Hi I am very new to Python, and I am trying to print multiple lines, but I am getting this error called unexpected character after line continuation character please help me here is my code

>>> hi I am brueec '\n' i am studying '\n' computer science

 

Answers
P
Surya kumar

Posted on 29th March 2024

Your syntax is wrong, try this

"Hi I am brueec" \n" I am studying" \n "computer science".     

 

Write your answer

STILL GOT QUERIES?

Get a Live FREE Demo
  • Explore the trending and niche courses and learning maps
  • Learn about tuition fee, payment plans, and scholarships
  • Get access to webinars and self-paced learning videos