<commit_before>---
lecture_date: 2016-08-04 09:00:00.00-7:00
topic: "Guttag Chapter 4"
desc: "functions, scope, stack, modules, file, more"
week: "1"
---


# Morning:

Lecture slides:
[Variables functions and conditionals](https://drive.google.com/file/d/0B__7284Jee0fUHZ5MUFKLWJWVnM/view?usp=sharing)
[More on function mechanics and recursions](https://drive.google.com/file/d/0B__7284Jee0fcTZnLUdDRlh4ZVk/view?usp=sharing)

More detail on Python from Guttag Chapter 4:

* Variables
* functions
* scope
* the *"stack"*
* modules
* Boolean expressions, `if else` and conditionals
* Recursion



# Assignments

* Read Chapter 4 in Guttag for Monday
* Continue with homework [h04](/hwk/h04)

<commit_msg>Added links to lecture slides<commit_after>---
lecture_date: 2016-08-04 09:00:00.00-7:00
topic: "Guttag Chapter 4"
desc: "functions, scope, stack, modules, file, more"
week: "1"
---


# Morning:

Lecture slides:
[Variables functions and conditionals](https://drive.google.com/file/d/0B__7284Jee0fUHZ5MUFKLWJWVnM/view?usp=sharing)

[More on function mechanics and recursions](https://drive.google.com/file/d/0B__7284Jee0fcTZnLUdDRlh4ZVk/view?usp=sharing)

More detail on Python from Guttag Chapter 4:

* Variables
* functions
* scope
* the *"stack"*
* modules
* Boolean expressions, `if else` and conditionals
* Recursion



# Assignments

* Read Chapter 4 in Guttag for Monday
* Continue with homework [h04](/hwk/h04)


{'fraction_non_alphanumeric': 0.12385643912737508, 'fraction_numerical': 0.057705840957072485, 'mean_word_length': 5.129310344827586, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '775848', 'n_tokens_mistral': 596, 'n_tokens_neox': 514, 'n_words': 130}