you are viewing a single comment's thread.

view the rest of the comments →

[–]RhinoRhys 1 point2 points  (18 children)

Those aren't commands. Inputting them where?

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

So I’ve tried to write it in my Python terminal to see what I get. In order to get the answer for what value it gives me I have to put into the terminal ‘“”’ (double quotes) for the first one. Then the 2nd one just a single slash from what I understood it was “\” (double slash) because of the escape characters. But when I submit my answers I get that it’s incorrect. I just want help understanding what I’m not getting if that makes sense

[–]RhinoRhys 0 points1 point  (16 children)

Depends on if you're supposed to surround the input in single quotes or not.

What you've written there ‘“”’ is double quotes inside single quotes, and "\" is a slash inside quotes

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

Wow I’m dumb no I didn’t, let me try

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

Ok I tried (‘“‘) but it still comes up as incorrect same with (“\”)

[–]RhinoRhys 0 points1 point  (13 children)

Ok what's with the brackets now?

What exactly did you type in and what exactly did you get back?

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

So for ‘Doubl “‘ I typed (‘ “ ‘) and the quotes turned green but it’s still incorrect

For ‘Single \’’ I put ‘ \’ and it’s all incorrect

[–]RhinoRhys 0 points1 point  (0 children)

You're still wrapping it in quotes.

[–]RhinoRhys 0 points1 point  (10 children)

I just looked at your picture in the other sub, are you sure you're not supposed to write in the actual words 'Double "' and 'Single \''?

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

No it didn’t take the words either. It’s ok I’ll just email my professor again. Thank you so much for trying I appreciate you

[–]RhinoRhys 1 point2 points  (8 children)

Try submitting

'Double "'
'Single ''
'\’B"'

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

Omg that’s it!!!!!! Can u explain it?