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

pycharm exercise "Character Escaping": task completed but wrong syntax

$
0
0

I'm following the built-in tutorial in PyCharm Edu Edition and I'm stuck on Strings - Character Escaping.In the exercise I'm asked to print the following:The name of this ice-cream is "Sweeet'n'Tasty"by using character escaping, and here's my code:

print("The name of this ice-cream is \"Sweeet\'n\'Tasty\"")

and it still gives me "Sorry the wrong string is printed". Honestly I don't think I printed a wrong string. Any help?


Viewing all articles
Browse latest Browse all 8

Latest Images

Trending Articles





Latest Images