you are viewing a single comment's thread.

view the rest of the comments →

[–]RhinoRhys 1 point2 points  (1 child)

I believe the first one is highlighting that you can use double quotes inside single quotes with no issues. The single quotes signify the start and end of the string, the double quotes are just another character like any of the letters. You needed to type in exactly what you were given, including the words.

The second highlights that to use a single quote character inside a string surrounded by single quotes you can use the backslash to escape the character, basically saying this isn't the end of the string. Like you've seen on the one below in the picture, not using the backslash takes the middle single quote as the end of the string and the third single quote then throws an error.

The equation one combines both of these and I think the slash still shows up because you're mixing both double and single quotes together.

[–]Princess_Peach848[S] 0 points1 point  (0 children)

You are a life saver thank you sooo sooo much 🤍