Listes 2 Flashcards

1
Q

Len()

A

Retourne la longeur de la liste

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

Max()

A

Retourne la valeur max de la liste

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

Min()

A

Retourne la valeur min de la liste

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

LES fonctions

A

len, max, min

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

Append

A

ajoute un element a la fin de la liste

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

insert()

A

Ajoute un elemtn a un endroit specifique

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

remove

A

supprime un element

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

pop()

A

supprime un element selon sa position et retourne la valeur de la position

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

del()

A

supprime un elelmtn selon sa position

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

[]

A

peremt d’aller a un elemt selon sa position

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

extend

A

ajoute les elemtns de la liste dans un autre liste

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

clear

A

efface touos les element de la liste

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

index

A

retourne l’indice du premier element de la valeur specifie

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

sort

A

trie les element de la liste

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

reverse

A

inverse l’ordre des elemnt

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

copy

A

retourne une copie de la liste