Fix the Quotes
Python
15 pts
Fix the Quotes
This program crashes because of the quotes and the backslash. Fix each string using escape characters (keep the double quotes around every string):
quotemust hold:He said "Selam!"sentencemust hold:It's hot in Massawapathmust hold:C:\Users\Abel
Expected output:
He said "Selam!" It's hot in Massawa C:\Users\Abel
Checklist
- Make
quoteholdHe said "Selam!"using escape characters. - Make
sentenceholdIt's hot in Massawa. - Make
pathholdC:\Users\Abelwith single backslashes. - Print the three strings, one per line.
🔑 Solution
If you view the solution before passing, you earn half points for this exercise. You still need to type it and press Check to finish.
How it works, step by step
Point at a step to highlight its lines. Type the solution yourself and press Check answer to finish.
