Is anyone else working on the first question? I just started this course and I have no programming experience. I'd love a study buddy!
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 :)
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.
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
Without knowing what the first question is, it's impossible to help you.
raw_input() is spelled with the underscore. It's used in Python v2. In Python v2, print is a statement, not a function. print() is a function in Python v3, and input is used in v3.
Most (all?) of the courses use Python v2.
hey im down for a study buddy, i finished the first section, so if you need help why not send me an email or IM and we can work together.
Not the answer you are looking for? Search for more explanations.
I would also love some peers in this. I am new to programming as well. I have just started finished the first lecture and reading. I was having some difficulty with the first exercise, and this could be my lack of maths skills (its been some time since my last class)
Positive root of the following equation:
34*x^2 + 68*x - 510
a*x^2 + b*x + c
x1 = ( - b + sqrt ( b*b - 4*a*c ) ) / ( 2*a)
I couldn't quite get this to work in python (v.2)
Python uses a double asterick for power, not the caret:
sqrt is a function defined in the math library so the library would have to be imported into this namespace to be uses as above:
from math import *
okay, thank you! I'll give it a go and let you know how it goes