Quantcast
Viewing latest article 8
Browse Latest Browse All 8

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

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 latest article 8
Browse Latest Browse All 8

Trending Articles