Quantcast
Viewing latest article 5
Browse Latest Browse All 8

Answer by Eric Pierre for pycharm exercise "Character Escaping": task completed but wrong syntax

The last print statement uses single quotation marks, so the test wants you to only escape the single quotes that surround the 'n', so this line worked for me:

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

Viewing latest article 5
Browse Latest Browse All 8

Trending Articles