← Back to Strings
Question 5
Apostrophe Inside Double Quotes
Apostrophe Inside Double Quotes
An apostrophe is the same character as a single quote, so a string that contains one cannot be wrapped in single quotes without ending early. Declare sentence holding the text It's a sunny day using double quotes around the whole thing, then print it on one line exactly as written. No input is read.
Expected Output:
It's a sunny day= newline. The output ends with a newline — print one after the last line.
Hints2 available
Sign in to use hintsTopics:
StringsVariables
1
Tab to indent (Esc then Tab to move on) · Ctrl+Enter to run · Ctrl+Space to expand shortcuts (pr, inp, def)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.