Python Refresher
Executive Summary¶
This resource helps students entering Computational Thinking II strengthen the key concepts learned in Computational Thinking I.
Purpose¶
This resource is designed for self-paced study. It provides concise explanations, examples, practice exercises, Python Shorts (brief video micro-lessons), and interactive Google Colab notebooks. The ultimate goal is to strengthen your foundational knowledge to support your success in Computational Thinking II.
For guidance on efficient use of Colab, please consult the "Google Colab - Beginner Guide" under the Resources section in the navigation bar.
Roadmap of Topics¶
For an effective review, we suggest following the logical order of the modules. This site covers:
- Computational Thinking: Core ideas of computational problem-solving.
- Input-Process-Output: The fundamental structure of any program.
- Algorithms: The design of precise, step-by-step instructions.
- Variables & Constants: How to store and manipulate data.
- Data Types: Understanding fundamental data types (
int,float,str,bool) and type casting. - Arithmetic Operators: Using Python’s arithmetic operators, precedence, and expressions.
- Conditionals & Relational Operators: Using
ifandelseto make decisions in code. - Nested & Multiple Conditionals: Building complex decisions with
elifand nested conditions. - Compound Conditions: Combining conditions with
and,or, andnotfor powerful decision logic. - While Loop: Repeating code blocks as long as a condition remains
True, primarily for unknown repetitions. - For Loop: Repeating code blocks a specific number of times or iterating over a sequence, primarily for known repetitions.
- Final Challenge: A cumulative, hands-on exercise integrating key concepts from the entire refresher.
Authorship and Technical Details¶
Contact¶
- Author: Juan Carlos Leal González
- Email: juan_leal@tec.mx
Version Control¶
- Current Version: v1.0.1 (January 2026)
- Last Updated: January 2026
Academic Disclaimer¶
This resource is supplementary and support material. Under no circumstances does it replace the content, activities, or assessments of the official course classes or instruction. Its use is optional and intended solely to reinforce your understanding.
License and Copyright¶
All original educational content on this site (text, code examples, diagrams, exercises, quizzes, video micro-lessons, and notebooks), excluding the Python logo (PSF rights) and AI-generated images, is distributed under the following license:
Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)
This means you are free to use, modify, and share this material, provided you:
- Attribute authorship to Juan Carlos Leal González.
- Do not use it for Commercial Purposes.
- Share modifications under the same license (ShareAlike).
Image Credits and Usage¶
The images used in the site content and interactive notebooks were created with Canva's AI tools (Magic Media) and are used according to Canva's content guidelines. They are intended solely for educational purposes and are excluded from the CC BY-NC-SA 4.0 license.