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.
2
Q
list comprehension
A
A flexible and expressive way of writing Python expression to create sequences of values.
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.