Q&A
- First meetup reflection: exemplary!
- What’s
pip
? - Project plan due Monday, with updates to follow. You’ll be constantly revising milestones and To-dos as you go.
First Steps
Would anyone volunteer to show what they have so for for their Drawing or Blackjack app? The earlier stage, the better. My goal is to help people get an idea of how to get started.
Milestones
Think of these as ‘tests.’ You may also want to make a To-do list, but milestones are things your program can do (capabilities) or things a user can do with it (abilities). You may consider grouping to-dos by Milestones if you want. In this case, milestones may turn into headings, with todos under them as checkboxes.
Blackjack people: As I mentioned, starting with a Basic project, then duplicating it and adding in as many Advanced items as you can is a great way to go. If you want, look up the rules to Blackjack and implement things that go beyond Prof. Gotz’s assignment to make the game more fun.
Remember unicode characters if you implement suits: ♠
Dicts Solutions
Ex 1
Ex 2-5
Dictionaries Part Deux
Things to remember:
- You’re looping through each row. If a state exists, do one set of things. If not, do another set of things. That’s the pattern for both 1 and 3.
('\t').join(["some", "LIST", "of", "things"])
is an idiom! Live it, love it, use it. You can also join around spaces, commas, whatever you need.- Got a header in your list of lists? Slice it off
- Got bad data? Manually clean it. Or automatically clean it. Or try/except.
Midterm
Let’s discuss.