Learning Scientific Programming with Python (2nd edition)
Questions
- Q4.1.1: The else block of a try ... except clause
- Q4.1.2: The finally block of a try ... except clause
- Q4.2.1: Determining if a string is a pangram
- Q4.2.2: Removing duplicates from a list
- Q4.2.3: Defining set objects
- Q4.2.4: frozenset
- Q4.2.5: Grouping words by their length using a defaultdict
- Q4.3.1: List comprehension and lambda functions
- Q4.3.2: Mystery list comprehension
- Q4.3.3: Various list comprehensions
- Q4.3.4: Sorting a dictionary
- Q4.3.5: The "jump the five" cypher
- Q4.3.6: Sorting a list containing None
- Q4.3.7: Using an assignment expression