Module 3
Python Fundamentals 2: Functions and Structure
Package your code into reusable functions and store records in dictionaries and JSON, the shape most real data arrives in.
2 lessons + quiz3 hours
Learning Objectives
- 1Write functions with inputs and a return value
- 2Store and read records with dictionaries
- 3Parse JSON text into Python data
Lessons
1
Functions: Write It Once, Use It Everywhere
Turn repeated steps into functions with inputs and outputs, and test them with known answers.
2
Dictionaries and JSON
Store records with labeled fields, and read JSON, the format most public data APIs send.
Module 3 Quiz: Python Fundamentals 2
Passing score: 80% · 5 questions
Quiz