- 2
Having serious trouble, cant enter more than 2 characters for the create a string containing double quotes. Anyone else?
5 Respuestas
+ 2
s1 = 'first string with " :)' # single quotes
s2 = "second string with \" :)" # backslash escape the special symbol
s3 = """third string with " :)""" # triple quotes - multiline string
+ 2
This excercise wants you to practice applying double quotes in a double quote string. However, this cannot be achieved without first typing a backlash (\) before the double quote sign. So to answer this question, you only need two characters: backslash followed by double quotes.
Your answer should look something like this: \"
+ 2
It just wants you to add another double quote without prematurely ending the string. Which the backslash followed by a double quote allows.
No other characters are necessary.
+ 1
I have no idea what you are trying to ask
+ 1
Same issue here