Lecture 3: Characters and Conditionals
Schedule for today
From last class
- Finishing the previous exercise: Counting the occurrences of Favia
- The partial solution to finish:
2023-01-17_favia-occurrencecount_partial.zip. Here is the completed example:2023-01-17_favia-occurrencecount.zip
Exercises for today
- Conditionals revisited (see readings from previous lecture)
Homework
Exercise
- Extra question for the Favia exercise:
- Which is the longest species name in the dataset?
- Which stage(s) (
stgnumber) is/are its occurrences from?
- Nested if exercise. Use this decision tree to implement the nested
ifstatements!
