Notizen
Compsci: lecture 9/4
Inhalt der Notizen (1)
Seite 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
Informationen
- Beschreibung
- College Computer Science 101 Notiz am Compsci: lecture 9/4, erstellt von Rachael Lee am 04/09/2014.
- Erstellt von
- Rachael Lee
- Aufrufe
- 23
- Bewertung