logo-MindMajix
PostPythonPython
s
sumana reddy

Posted on 23rd June 2024|100 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

 

1 answers
Answers
P
Surya kumar

Posted on 23rd June 2024| views

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
Name
Course *
Email *
Phone Number