On the assignments page it recommends python 2.5.4 instead of 3.0, but now the latest versions are 2.7.6 and 3.3.5. I'm assuming I should get 2.7.6 for the assignments? Thanks.
That is what I'm using and so far it's worked out. On problem set 3
thanks
It was explained to me as 2.x.x will do fine for the course. 3.x was a revamped version of python. For example, Prof. John Guttag explains briefly in lec2 that 'raw_input' an 'input' are the options for user interaction. Only 'raw_input' is in Python V. 3.x while 2.x has both objects available. You both should be fine.
<= and >= are relational operators... a<=b checks if a is less than or equal to b a>=b checks if a is greater than or equal to b == is an assignment operator. a==b assigns the value of b to a a+=b is used as shorthand means of writing a=a+b
Join our real-time social learning platform and learn together with your friends!