CS 101 Lecture Notes - Lecture 3: Arbitrary-Precision Arithmetic
Document Summary
Cs 101 lecture #3 python basics!-data types, strings, indexing. Register your i>clickers on the course compass page. No lab the week of labor day. Exam dates have been posted on the course website. Get help from the piazza forum (allow 24hrs for answer) and from tas in lab and in office hours once they"re posted. You don"t need to install python on your computer, but if you want to, we are using. Assignment makes a variable equivalent to what follows the = Don"t use = like you would in mathematics. If you want to switch the values of two variables, you can use this trick: x,y = y,x. This will switch the values of x and y. What is the value of y? (110) What do we call x? (a variable) What do we call 10? (a literal) What do we call y=x*y? (a statement) What is the value of y? (10)