Skip to content
Snippets Groups Projects
Commit a978c9ce authored by Andy Kuemmel's avatar Andy Kuemmel
Browse files

Update f22/andy_lec_notes/lec07_Sep21_FunctionScope/readme.md

Deleted f22/andy_lec_notes/lec_07/.ipynb_checkpoints/lec07_function_scope_850-checkpoint.ipynb, f22/andy_lec_notes/lec_07/.ipynb_checkpoints/lec_07_850-checkpoint.ipynb, f22/andy_lec_notes/lec_07/.ipynb_checkpoints/lec_07_writing_functions_template-checkpoint.ipynb, f22/andy_lec_notes/lec_07/lec_07_writing_functions_template.ipynb, f22/andy_lec_notes/lec_07/lec07_function_scope_850.ipynb
parent f0d176dc
No related branches found
No related tags found
No related merge requests found
The first part of todays's lecture will be to complete Monday's Notebook file.
The second part of today's lecture will be done through the Interactive Exercises.
https://www.msyamkumar.com/cs220/s22/materials/lec-07.html
%% Cell type:code id: tags:
``` python
# There was no template file today, we discussed the sides
# and then talked over the Interactive Exercises
```
%% Cell type:code id: tags:
``` python
# Warmup: Complete Monday's last example
# Takeaways:
# functions can call other functions
# a return statement immediately ends the function
```
%% Cell type:code id: tags:
``` python
```
%% Cell type:code id: tags:
``` python
# Today's Learning Objectives (see slide)
```
%% Cell type:code id: tags:
``` python
# Slides 1-6
```
%% Cell type:code id: tags:
``` python
# Find today's interactive exercises on the Course site
```
%% Cell type:code id: tags:
``` python
# for each example,
# show the example in Python tutor
#. answer a question with your neighbor
#. annotate the slide, or make a comment to yourself here
```
%% Cell type:code id: tags:
``` python
# after exercise 10, look at slide 25
```
%% Cell type:code id: tags:
``` python
# after lecture practice: go to slide 11
# put this slide into Python Tutor
# explain to yourself what is happening
# then read slides 7-10
```
%% Cell type:code id: tags:
``` python
# There was no template file today, we discussed the sides
# and then talked over the Interactive Exercises
```
%% Cell type:code id: tags:
``` python
# Warmup: Complete Monday's last example
# Takeaways:
# functions can call other functions
# a return statement immediately ends the function
```
%% Cell type:code id: tags:
``` python
```
%% Cell type:code id: tags:
``` python
# Today's Learning Objectives (see slide)
```
%% Cell type:code id: tags:
``` python
# Slides 1-6
```
%% Cell type:code id: tags:
``` python
# Find today's interactive exercises on the Course site
```
%% Cell type:code id: tags:
``` python
# for each example,
# show the example in Python tutor
#. answer a question with your neighbor
#. annotate the slide, or make a comment to yourself here
```
%% Cell type:code id: tags:
``` python
# after exercise 10, look at slide 25
```
%% Cell type:code id: tags:
``` python
# after lecture practice: go to slide 11
# put this slide into Python Tutor
# explain to yourself what is happening
# then read slides 7-10
```
This diff is collapsed.
Please download all files (besides this one) to your directory for lecture notes.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment