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

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

$
0
0

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 all articles
Browse latest Browse all 8

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>