Description
Help students understand one of the most important (and commonly misunderstood) concepts in Python functions: return values.
In Lesson 7.4 — Return Values, students learn how functions can send data back to a program using return instead of simply displaying output with print. Through clear comparisons, tracing activities, and debugging practice, students learn when printing is enough—and when returning a value is essential.
This lesson builds directly on parameters and arguments and reinforces abstraction, data flow, and program reasoning, all core ideas in Computer Science Principles (CSP).
Designed in the Mr. H Codes instructional style, this resource is clear, structured, student-friendly, and sub-ready, making it easy to use in any CSP or Python classroom.
🔹 Students Will Learn To
- Differentiate between print and return in Python
- Use returned values in variables and expressions
- Debug incorrect logic caused by missing return values
📄 What’s Included
✔ Guided notes with print vs. return comparisons
✔ Vocabulary matching activity
✔ Concept-based (unplugged) reasoning questions
✔ Code analysis and debugging tasks
✔ JDoodle coding task with challenge extension
✔ Reflection prompts
✔ Complete teacher guide with pacing, tips, misconceptions, and answer key
🧠 Best For
- Computer Science Principles (CSP)
- Python-based CS courses
- Grades 9–12
- Intro to functions & program outputs
- Classwork, sub plans, or homework
⏱️ Time Required
One class period (50–75 minutes)
🖥️ Programming Language
Python
CSP Python – Lesson 7.4: Return Values | Print vs Return & Function Outputs
Highlights
Save even more with bundles
Description
Help students understand one of the most important (and commonly misunderstood) concepts in Python functions: return values.
In Lesson 7.4 — Return Values, students learn how functions can send data back to a program using return instead of simply displaying output with print. Through clear comparisons, tracing activities, and debugging practice, students learn when printing is enough—and when returning a value is essential.
This lesson builds directly on parameters and arguments and reinforces abstraction, data flow, and program reasoning, all core ideas in Computer Science Principles (CSP).
Designed in the Mr. H Codes instructional style, this resource is clear, structured, student-friendly, and sub-ready, making it easy to use in any CSP or Python classroom.
🔹 Students Will Learn To
- Differentiate between print and return in Python
- Use returned values in variables and expressions
- Debug incorrect logic caused by missing return values
📄 What’s Included
✔ Guided notes with print vs. return comparisons
✔ Vocabulary matching activity
✔ Concept-based (unplugged) reasoning questions
✔ Code analysis and debugging tasks
✔ JDoodle coding task with challenge extension
✔ Reflection prompts
✔ Complete teacher guide with pacing, tips, misconceptions, and answer key
🧠 Best For
- Computer Science Principles (CSP)
- Python-based CS courses
- Grades 9–12
- Intro to functions & program outputs
- Classwork, sub plans, or homework
⏱️ Time Required
One class period (50–75 minutes)
🖥️ Programming Language
Python










