{%hackmd BJ-DJz7nt %} # Bare Bears S4C5: Functions ###### tags: `Programming` `Python` `CWL` `CS` ![Alt](https://media.giphy.com/media/NEvPzZ8bd1V4Y/giphy.gif) ## Wisdom of the day ![](https://hackmd.io/_uploads/SJPyE9UE9.jpg =600x400) #### Broaden your vision things will be different > > Sometimes, our vision will narrow down to a neddle point, we can only see the thing in front of us. Then, we feel the thing in front of us is offending, and too hard to be managed. > > However, once we view the thing with a life view, even view it with a infinite lives journey. Or, put this thing into the holy people's eyes, what will this thing become 🤔 ## Brainstorming ![](https://hackmd.io/_uploads/S14zO9IV9.png) - Why are we doing the OMAK? - Why are we learning programming language? - Why are we writing homework? ## Homework Review ### 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/) ## In Class ### Python: Functions Introduction to functions! ## Homework ### OMAK Writing an OMAK on one of your school teacher, and your personal growth on that subject~ > Thinking of the subject you are writing, what are you currently learning? Did you perform well before? What's your current performance? Is there any difference~ > Who is account for the diffence~ Maybe, it's your hard work and the person who are teaching you~ >Write an OMAK about you and him/her 🥰 ### Practices #### While loop [**The second maximum**](https://snakify.org/en/lessons/while_loop/problems/seq_second_max/) > The sequence consists of distinct positive integer numbers and ends with the number 0. Determine the value of the second largest element in this sequence. It is guaranteed that the sequence has at least two elements.