Lesson 11 - Week 11: Becoming Pythonic Flashcards

(3 cards)

1
Q

dictionary

A

A collection of pairs of objects, where one object in the pair is called the key, and the other is called the value.

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

list comprehension

A

A flexible and expressive way of writing Python expression to create sequences of values.

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

re.search()

A

A function that finds matches anywhere in the string: if it doesn’t find any matches, it will return None.

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