Arrays (SAME THING AS LISTS) Flashcards

1
Q

One Dimensional List -

A

We store one piece of data per subject.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Two Dimensional List -

A

We store more than one piece of data per data subject.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

List

A

Allows you to store multiple pieces of data in one location.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What index does a list always start at?

A

0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Find the length of a list called ‘animals’

A

print(len(animals))

How well did you know this?
1
Not at all
2
3
4
5
Perfectly