{%hackmd HyNxqYr2Y %}
# Bare Bears S4C4: While Loop part 3 & Functions
###### tags: `Programming` `CS` `Python` `CWL`
[TOC]

## Homework Review
### OMAK
Write an OMAK on the "For Loop" section!
> Suggest you go back to the for loop section, and redo it again, think of the improvements you have~
### Practices
#### While loop
==Questions==
- [Morning Jog](https://snakify.org/en/lessons/while_loop/problems/morning_jog/)
- [The length of the sequence](https://snakify.org/en/lessons/while_loop/problems/seq_len/)
## In Class
### Python: While Loop ^^
- [The sum of the sequence](https://snakify.org/en/lessons/while_loop/problems/eq_sum/)
- [The average of the sequence](https://snakify.org/en/lessons/while_loop/problems/seq_avg/)
### Python: Functions
Introduction to functions!
## Homework
### OMAK
Write an OMAK story about your father~~~
>Think about an event of you and your father. And then to think about what he have said or done or anything which makes you happy or get good feelings. Write down your fathers' good deeds, and your father's good qualities.
### Practices
#### While loop
==Questions==
- [The maximum of the sequence](https://snakify.org/en/lessons/while_loop/problems/seq_max/)
- [The index of the maximum of a sequence](https://snakify.org/en/lessons/while_loop/problems/seq_index_of_max/)