CSE 1010 Lecture Notes - Lecture 3: Floating Point

57 views2 pages
jadetortoise401 and 55 others unlocked
CSE 1010 Full Course Notes
84
CSE 1010 Full Course Notes
Verified Note
84 documents

Document Summary

Floating point (number with fractional part ex. Operators are + - * / (add, subtract, multiply divide) String- a message, a sequence of characters. Each string must be enclosed with single quote or double quote. Simple string can use either single or double quote. B=a+3 computer first finds a and then adds 3, it then stores the number in b. After executing above statement, b will be 13. Any change to a will not affect b. A list is a compound data type. Take many values, group them together and tell python that you want to define them as one unit. Choose one unit to refer to whole list. A list is a type defined as means of other type. A number is defined as means of itself. List is based on other data types. Using an index allows us to call one piece of the list. Squares[2] will return whatever information is in box 2.

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

Related Questions