Day 1 Review Flashcards

(4 cards)

1
Q

What is a namespace in Python?

A

A logical container for objects

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

What are some common pythonic expressions?

A

lambda functions, list comprehensions, generator expressions, unpacking function arguments, etc. (anything from Chapter 5)

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

Is datetime built in to python or does it require a module to use?

A

It requires a module - date, time, datetime, calendar

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

True or False: Code is read more often than it is written

A

True! - from the BDFL (Guido van Rossum) himself.

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