Skip to content

Thoughts from Day 2 - notebooks 07-08 #5

@jenniferagraham

Description

@jenniferagraham

Note that I haven't commented on all courses taught - others can add notes on what I was teaching.

07: control flow

Need to allocate longer for this section. Make sure to allow time for exercises (e.g., spent longer on ex 2).
When presenting, make sure to stress use of indentation and logic of if and elif. (Suggest stressing this in notebooks at introduction as well.)

Could the fibonacci example be replaced with something more intuitive? (for while example)
Remove fizzbuzz exercise at end - never used, and too confusing!

Iterators

Suggested restructuring: moving split point earlier - move while/break ahead of range, and have the break at introduction of range along with other iterators (to keep them all together)?
Consider whether iter() examples are really needed? (Never used in reality, so probably not needed?)

Solutions

Move into separate file for ease of reference as with other notebooks?

GP2:

Didn't have time to do all - suggested focus on either 1 or 3. However, worth keeping all there as option for those who are capable?

08: Functions

**Need to make sure solutions to each exercise are provided (ideally in solutions folder for reference)! **
NB. current 08 file in solutions is for a different notebook - mismatched numbering somehow?

Make sure to describe how docstring is used in help query.

CO2 exercise

Note that radforc isn't explained in docstring - may be extra source of confusion.
**Do we want a replacement for the flight CO2 example? **
If yes, would need to replace here and notebook 09!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions