anonymous
  • anonymous
Assignment 1: My version
MIT 6.00 Intro Computer Science (OCW)
  • Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
SOLVED
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.
chestercat
  • chestercat
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
anonymous
  • anonymous
If you notice an error please message me. Hope this helps.
1 Attachment
anonymous
  • anonymous
I ran it, and I got an error. It's a little mistake you made when you were trying to be smart by giving your variables different names other than "x" and "y". Make sure they are the same all the way through the script. Message me if you need any more hints.
anonymous
  • anonymous
Vlek, thank you for pointing out the error. Using a good naming convention is very important. I don't know what conventions are used in Python but normally one can either use the CamelCase or just capitalise each word making up a variable. This was mentioned in the first session. When a variables name give away what data it will store this helps to self document the program. Adopting a proper naming convention is therefore not being smart but simply being a good programmer.

Looking for something else?

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