Notes
Compsci: lecture 9/4
Content of the notes (1)
Page 1
calling a function: gives the information you wanted to pass
python doesn't care as long as you start and end with the same quotes. double or single quotes
unnecessary to memorize function codes
strings are fixed, lists can be changed
(same diff as constant and a variable)
compsci start counting with "0"
colon (:) indicates slicing of a list
number before indicates where slicing starts, and number after where slicing ends
b-a is number of things it will slice up [a:b]
[:x] means it starts at 0 and ends right before x
[a:b:c] has a stride/step of c. unspecified c is 1
people important in compsci
Grace Murray Hopper
one of the first programmers (third)
first woman programmer
Lynn Conway
New Page
Information
- Description
- College Computer Science 101 Note on Compsci: lecture 9/4, created by Rachael Lee on 04/09/2014.
- Created by
- Rachael Lee
- Views
- 23
- Rating