Code works on here but gets syntax error on interpreter | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Code works on here but gets syntax error on interpreter

x = "hey there" \ns = input("enter your name: ") \nprint(s) \nprint(x + " " + "you" + "," + "welcome back") SyntaxError: unexpected character after line continuation character

22nd Feb 2020, 7:03 PM
Daniel Dehaan
1 Answer
0
maybe nonprintable char
22nd Feb 2020, 8:02 PM
Oma Falk
Oma Falk - avatar