Quantcast
Channel: pycharm exercise "Character Escaping": task completed but wrong syntax - Stack Overflow
Viewing all articles
Browse latest Browse all 8

Answer by erin s for pycharm exercise "Character Escaping": task completed but wrong syntax

$
0
0

Also, this worked for me:print("The name of this ice-cream is \"Sweet'n'Tasty\"")

I'm new to coding (any kind), and so this is just a guess - the solution requires that you print only one string, so perhaps \"Sweet\'n\'Tasty\" is read as multiple strings? Like I said, real beginner. (also, could be that sweet was spelled wrong?)


Viewing all articles
Browse latest Browse all 8

Trending Articles