¡GoConqr estrena diseño! Cuéntanos qué te parece.

Apuntes

Compsci: lecture 9/4

Rachael Lee Computer Science 101 College Inglés 1 página

Contenido del apunte (1)

Página 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

Información

Descripción
College Computer Science 101 Apunte sobre Compsci: lecture 9/4, creado por Rachael Lee el 04/09/2014.
Creado por
Rachael Lee
Visitas
23
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?