Question of the day: How would you write a program to make correct change (as in a cashier giving you coins, not changing the world)?
- Writing tests with pytest
- Exceptions
Pig Latin
ERRATA:
rates
is a list of tuples, not a dictionary.from
is a reserved word, so useoriginal
or_from
for the parameter indicating the currency to change from.
Question of the day: How would you write a program to find all the anagrams of a phrase?
- Creating classes and objects
Cipher
Question of the day: What classes would you need to make a blackjack game? How would you calculate the score for a hand?
- Object-oriented design
Question of the day: How would you write a program to recommend items someone might like to buy, given their purchase history, like on Amazon?
- Pipenv and third-party libraries
- Reading and parsing data