anonymous
  • anonymous
I'm working on the rock, paper, scissors game (hw_1, ex 1.7) and I've written some code which I think should work, just using basic if / elif / else blocks. Once I have got it to work I will write something more elegant (or at least shorter) but I'm not able to run the module. I get the following error: "EOL while scanning string literal" and the (empty) line at the end of my code is highlighted. Can anybody tell me what the error means and what is missing in my code? http://pastebin.com/jFWWtUSv
MIT 6.189 A Gentle Introduction to Programming Using Python (OCW)
jamiebookeater
  • jamiebookeater
See more answers at brainly.com
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.

Get this expert

answer on brainly

SEE EXPERT ANSWER

Get your free account and access expert answers to this
and thousands of other questions

anonymous
  • anonymous
try change at the end ” with " print "This is not a valid object selection” with print "This is not a valid object selection"
anonymous
  • anonymous
what does "with" do? I tried changing print "This is not a valid object selection" to with print "This is not a valid object selection" But it still doesn't work unfortunately, it highlights the word 'print' and says there is a syntax error.
anonymous
  • anonymous
change---> print "This is not a valid object selection” with --> print "This is not a valid object selection" you have wrong character at the and of line (”) instead of (")

Looking for something else?

Not the answer you are looking for? Search for more explanations.

More answers

anonymous
  • anonymous
ok! great, thanks!

Looking for something else?

Not the answer you are looking for? Search for more explanations.