functions Flashcards

1
Q

special method of callable instances

A

__call__()

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

sort function

A

sorted(iterable, key=None, reverse=False)

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

built-in function which detects a callable object

A

callable()

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

built-in function which turn several lists into the list of tuples

A

zip()

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

transpose the list of lists

A

list(zip(*iterable))

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