Lecture 2: Operators and operands; statements; branching, conditionals, and iteration
Instructors: Prof. Eric Grimson, Prof. John Guttag
View the complete course at: ocw.mit.edu/6-00F08
License: Creative Commons BY-NC-SA
More information at ocw.mit.edu/terms
More courses at ocw.mit.edu
295 Comments on "Lec 2 | MIT 6.00 Introduction to Computer Science and Programming, Fall 2008"
Is computer science and programming sustainable?
x = 3*5 and y = 15 will not refer to the same intiger object 15… stop fooling students 😉
damn I love how he switches to surround sound (usually 2 sec late) so we can hear the questions from student,but they speak so quietly it doesn't even matter. basically killing suicider
7:05 you get to see JOHN, OMG HE IS A ACTUAL PERSON
John is like google, an infinite amount of knowledge, yet he isn’t physically tangible!!!!!
definitely love his classes… How i hope i get to see whats in their handout
Kindly get in touch for an A grade assignment in any subject. Dissertations, term papers. math assignments and statistical projects. Done by professionals. Timely delivery of assignments email firstname.lastname@example.org
The expression 'a'<3 results in a error in python 3.6.4 idle" Traceback (most recent call last): File "<pyshell#12>", line 1, in <module> 'a'<3TypeError: '<' not supported between instances of 'str' and 'int' "
I mean I can still follow along in this course with 3.6, just some things are different.Thanks for the suggestion though I will check it out after I complete this series.
This course is designed for Python 2.5.x. If you want a course using Python 3.x, you should check out MIT 6.0001 Introduction to Computer Science and Programming in Python, Fall 2016. View the complete course: ocw.mit.edu/6-0001F16
It looks like some things have changed in the 3.6.4 version of python to the extent where the results will be different in the idle.
In case you are using python 3, the expression:4<'a'will be an error.>>> 4>'a' Traceback (most recent call last): File "<pyshell#5>", line 1, in <module> 4>'a' TypeError: '>' not supported between instances of 'int' and 'str'
In CodeChannels.com, you can learn to code by watching videos and stay up to date with latest code shows, events and tutorials aggregated from various leading developer communities.
Copyright 2016 By CodeChannels.com All rights reserved.