CS 101 Lecture Notes - Lecture 3: Arbitrary-Precision Arithmetic

19 views4 pages

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)

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents