# Python Classroom

## Python Classroom

- [Introduction](https://www.pythonclassroom.com/master.md)
- [About Python Classroom](https://www.pythonclassroom.com/about-python-classroom.md)
- [Python Cloud Options](https://www.pythonclassroom.com/python-cloud-options.md)
- [CS50 IDE](https://www.pythonclassroom.com/python-cloud-options/cloud9.md)
- [CS50 IDE Overview](https://www.pythonclassroom.com/python-cloud-options/cloud9/cloud9-overview.md)
- [CS50 IDE and Python](https://www.pythonclassroom.com/python-cloud-options/cloud9/cloud9-and-python.md)
- [CS50 IDE Debugging](https://www.pythonclassroom.com/python-cloud-options/cloud9/cloud9-debugging.md)
- [CS50 IDE Shortcuts](https://www.pythonclassroom.com/python-cloud-options/cloud9/cloud9-cheat-sheet.md)
- [Linux Bash Shell](https://www.pythonclassroom.com/python-cloud-options/cloud9/linux-bash-shell.md)
- [Vim Mode](https://www.pythonclassroom.com/python-cloud-options/cloud9/vim-mode.md)
- [Vim Tutorial](https://www.pythonclassroom.com/python-cloud-options/cloud9/vim-mode/vim-tutorial.md)
- [CS50 Sandbox](https://www.pythonclassroom.com/python-cloud-options/cs50-sandbox.md)
- [PythonAnywhere](https://www.pythonclassroom.com/python-cloud-options/pythonanywhere.md)
- [Repl.it](https://www.pythonclassroom.com/python-cloud-options/repl.it.md)
- [Python Curriculum Map](https://www.pythonclassroom.com/python-curriculum-map.md)
- [Pedagogy](https://www.pythonclassroom.com/python-curriculum-map/pedagogy.md)
- [Python Professional Development](https://www.pythonclassroom.com/python-curriculum-map/pedagogy/python-professional-development.md)
- [Teaching Tips](https://www.pythonclassroom.com/python-curriculum-map/pedagogy/teaching-tips.md)
- [Assessment Tips](https://www.pythonclassroom.com/python-curriculum-map/pedagogy/assessment-tips.md)
- [Rubrics](https://www.pythonclassroom.com/python-curriculum-map/pedagogy/rubrics.md)
- [Activities](https://www.pythonclassroom.com/python-curriculum-map/pedagogy/activities.md)
- [Picture Activity](https://www.pythonclassroom.com/python-curriculum-map/pedagogy/activities/picture-activity.md)
- [Map Activity](https://www.pythonclassroom.com/python-curriculum-map/pedagogy/activities/map-activity.md)
- [Crossing the Bridge](https://www.pythonclassroom.com/python-curriculum-map/pedagogy/activities/crossing-the-bridge.md)
- [NIM](https://www.pythonclassroom.com/python-curriculum-map/pedagogy/activities/nim.md)
- [Mastermind](https://www.pythonclassroom.com/python-curriculum-map/pedagogy/activities/mastermind.md)
- [Cards](https://www.pythonclassroom.com/python-curriculum-map/pedagogy/activities/cards.md)
- [Card Deck Algorithms](https://www.pythonclassroom.com/python-curriculum-map/pedagogy/activities/cards/card-deck-algorithms.md)
- [Sorting Cards](https://www.pythonclassroom.com/python-curriculum-map/pedagogy/activities/cards/sorting-cards.md)
- [River Crossing](https://www.pythonclassroom.com/python-curriculum-map/pedagogy/activities/river-crossing.md)
- [Jealous Boyfriends](https://www.pythonclassroom.com/python-curriculum-map/pedagogy/activities/river-crossing/jealous-boyfriends.md)
- [Cannibals and Priests](https://www.pythonclassroom.com/python-curriculum-map/pedagogy/activities/river-crossing/cannibals-and-priests.md)
- [Family](https://www.pythonclassroom.com/python-curriculum-map/pedagogy/activities/river-crossing/family.md)
- [Police and the Thief](https://www.pythonclassroom.com/python-curriculum-map/pedagogy/activities/river-crossing/police-and-the-thief.md)
- [Humans and Monkeys](https://www.pythonclassroom.com/python-curriculum-map/pedagogy/activities/river-crossing/humans-and-monkeys.md)
- [Moving Money](https://www.pythonclassroom.com/python-curriculum-map/pedagogy/activities/river-crossing/money.md)
- [Crossing the River](https://www.pythonclassroom.com/python-curriculum-map/pedagogy/activities/crossing-the-river.md)
- [Traveling Salesperson](https://www.pythonclassroom.com/python-curriculum-map/pedagogy/activities/traveling-salesperson.md)
- [Logic Problems](https://www.pythonclassroom.com/python-curriculum-map/pedagogy/activities/logic-problems.md)
- [CIA Crack the Code](https://www.pythonclassroom.com/python-curriculum-map/pedagogy/activities/cia-crack-the-code.md)
- [IQ Test](https://www.pythonclassroom.com/python-curriculum-map/pedagogy/activities/iq-test.md)
- [Puzzles](https://www.pythonclassroom.com/python-curriculum-map/pedagogy/activities/puzzles.md)
- [AP Computer Science Principles Framework](https://www.pythonclassroom.com/python-curriculum-map/ap-computer-science-principles-framework.md)
- [Python Philosphy](https://www.pythonclassroom.com/python-philosphy.md)
- [How to Practice Python](https://www.pythonclassroom.com/python-philosphy/how-to-practice-python.md)
- [microbit](https://www.pythonclassroom.com/microbit.md)
- [Turtle Graphics](https://www.pythonclassroom.com/turtle-graphics.md)
- [Turtle Examples](https://www.pythonclassroom.com/turtle-graphics/turtle-example.md)
- [Turtle Activities](https://www.pythonclassroom.com/turtle-graphics/turtle-activities.md)
- [Turtle Maze Problems](https://www.pythonclassroom.com/turtle-graphics/turtle-maze.md)
- [Turtle Graphics with loops](https://www.pythonclassroom.com/turtle-graphics/turtle-graphics-with-loops.md)
- [Turtle Snake](https://www.pythonclassroom.com/turtle-graphics/turtle-snake.md)
- [Turtle Graphics with Conditionals](https://www.pythonclassroom.com/turtle-graphics/turtle-graphics-with-conditionals.md)
- [Output](https://www.pythonclassroom.com/output.md)
- [Output Examples](https://www.pythonclassroom.com/output/python-output-examples.md)
- [Output Mistakes](https://www.pythonclassroom.com/output/output-mistakes.md)
- [Variables](https://www.pythonclassroom.com/python-variables.md)
- [Variable Data Type Examples](https://www.pythonclassroom.com/python-variables/variable-data-type-examples.md)
- [Variable Role Examples](https://www.pythonclassroom.com/python-variables/variable-role-examples.md)
- [Variables Mistakes](https://www.pythonclassroom.com/python-variables/variables-mistakes.md)
- [Variables Problems](https://www.pythonclassroom.com/python-variables/variables-activity.md)
- [Math](https://www.pythonclassroom.com/math.md)
- [Math Examples](https://www.pythonclassroom.com/math/math-examples.md)
- [Math Mistakes](https://www.pythonclassroom.com/math/math-mistakes.md)
- [Math Problems](https://www.pythonclassroom.com/math/math-problems.md)
- [Math Self Check](https://www.pythonclassroom.com/math/math-self-check.md)
- [Input](https://www.pythonclassroom.com/input.md)
- [Input Examples](https://www.pythonclassroom.com/input/input-examples.md)
- [Input Mistakes](https://www.pythonclassroom.com/input/if-mistakes.md)
- [Input Problems](https://www.pythonclassroom.com/input/input-problems.md)
- [Decisions](https://www.pythonclassroom.com/decisions-if-elif-else.md)
- [if](https://www.pythonclassroom.com/decisions-if-elif-else/if.md)
- [if Examples](https://www.pythonclassroom.com/decisions-if-elif-else/if/if-examples.md)
- [if Mistakes](https://www.pythonclassroom.com/decisions-if-elif-else/if/if-mistakes.md)
- [if Problems](https://www.pythonclassroom.com/decisions-if-elif-else/if/if-problems.md)
- [if else](https://www.pythonclassroom.com/decisions-if-elif-else/if-elif.md)
- [if else Examples](https://www.pythonclassroom.com/decisions-if-elif-else/if-elif/if-else-examples.md)
- [if else Problems](https://www.pythonclassroom.com/decisions-if-elif-else/if-elif/if-else-problems.md)
- [if / if else Problems](https://www.pythonclassroom.com/decisions-if-elif-else/if-elif/if-if-else-problems.md)
- [if elif else](https://www.pythonclassroom.com/decisions-if-elif-else/if-elif-else.md)
- [if elif else Examples](https://www.pythonclassroom.com/decisions-if-elif-else/if-elif-else/if-elif-else-examples.md)
- [if elif else Problems](https://www.pythonclassroom.com/decisions-if-elif-else/if-elif-else/if-elif-else-problems.md)
- [nested if](https://www.pythonclassroom.com/decisions-if-elif-else/nested-if.md)
- [nested if Examples](https://www.pythonclassroom.com/decisions-if-elif-else/nested-if/nested-if-examples.md)
- [nested if Problems](https://www.pythonclassroom.com/decisions-if-elif-else/nested-if/nested-if-problems.md)
- [Logical Operators](https://www.pythonclassroom.com/decisions-if-elif-else/logical-and.md)
- [Logical Operators Examples](https://www.pythonclassroom.com/decisions-if-elif-else/logical-and/logical-operators-examples.md)
- [Adventure Game Project](https://www.pythonclassroom.com/decisions-if-elif-else/adventure-game-project.md)
- [Loops](https://www.pythonclassroom.com/loops.md)
- [while loop - count up](https://www.pythonclassroom.com/loops/while-loop-count-up.md)
- [Examples](https://www.pythonclassroom.com/loops/while-loop-count-up/while-loop-examples1.md)
- [Problems](https://www.pythonclassroom.com/loops/while-loop-count-up/exercises.md): # count up
- [while loop - countdown](https://www.pythonclassroom.com/loops/while-loop-countdown.md)
- [Examples](https://www.pythonclassroom.com/loops/while-loop-countdown/while-countdown-examples.md)
- [Problems](https://www.pythonclassroom.com/loops/while-loop-countdown/while-loop-countdown-problems.md): # countdown
- [while loop - sentinel value](https://www.pythonclassroom.com/loops/while-loop-sentinel.md)
- [Problems](https://www.pythonclassroom.com/loops/while-loop-sentinel/while-loop-sentinel.md)
- [while loop - sentinel menu](https://www.pythonclassroom.com/loops/while-loop-menu.md)
- [Problems](https://www.pythonclassroom.com/loops/while-loop-menu/while-loop-sentinel-menu.md)
- [for loop - range (one argument)](https://www.pythonclassroom.com/loops/for-loop-range-one-argument.md)
- [Examples](https://www.pythonclassroom.com/loops/for-loop-range-one-argument/examples.md)
- [Problems](https://www.pythonclassroom.com/loops/for-loop-range-one-argument/for-loop-one-argument-problems.md)
- [for loop - range (two arguments)](https://www.pythonclassroom.com/loops/for-loop-range-two-arguments.md)
- [Problems](https://www.pythonclassroom.com/loops/for-loop-range-two-arguments/for-loop-two-arguments.md)
- [for loop - range (three arguments)](https://www.pythonclassroom.com/loops/for-loop-range-three-arguments.md)
- [Problems](https://www.pythonclassroom.com/loops/for-loop-range-three-arguments/for-loop-three-arguments.md)
- [Lists](https://www.pythonclassroom.com/lists.md)
- [Lists - Numbers](https://www.pythonclassroom.com/lists/lists-numbers.md)
- [Problems](https://www.pythonclassroom.com/lists/lists-numbers/lists-strings-problems.md)
- [Lists - Strings](https://www.pythonclassroom.com/lists/lists-strings.md)
- [Problems](https://www.pythonclassroom.com/lists/lists-strings/lists-problems.md)
- [Shopping Project](https://www.pythonclassroom.com/lists/lists-strings/shopping.md)
- [Dictionaries](https://www.pythonclassroom.com/dictionaries.md)
- [String Methods](https://www.pythonclassroom.com/string-methods.md)
- [Functions](https://www.pythonclassroom.com/functions.md)
- [Variable Scope](https://www.pythonclassroom.com/functions/variable-scope.md)
- [Functions - no parameters](https://www.pythonclassroom.com/functions/functions-introduction.md)
- [Functions - one parameter](https://www.pythonclassroom.com/functions/functions-one-parameter.md)
- [Functions - return](https://www.pythonclassroom.com/functions/functions-return.md)
- [Functions - lists](https://www.pythonclassroom.com/functions/functions-lists.md)
- [Files](https://www.pythonclassroom.com/files.md)
- [Classes](https://www.pythonclassroom.com/classes.md)
- [Inheritance](https://www.pythonclassroom.com/classes/inheritance.md)
- [Python Projects](https://www.pythonclassroom.com/python-projects.md)
- [Adventure Game](https://www.pythonclassroom.com/python-projects/adventure-game-nested-if.md)
- [Restaurant Project](https://www.pythonclassroom.com/python-projects/restaurant-project.md)
- [Trivia Game](https://www.pythonclassroom.com/python-projects/trivia-game.md)
- [Family Tree Project](https://www.pythonclassroom.com/python-projects/family-tree-project.md)
- [Raspberry Pi](https://www.pythonclassroom.com/raspberry-pi.md)
- [Raspberry Pi Models](https://www.pythonclassroom.com/raspberry-pi/raspberry-pi-models.md)
- [Raspberry Pi Setup](https://www.pythonclassroom.com/raspberry-pi/raspberry-pi-setup.md)
- [Roblox](https://www.pythonclassroom.com/roblox.md)
- [Glossary](https://www.pythonclassroom.com/glossary.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information, you can query the documentation dynamically by asking a question.
Perform an HTTP GET request on a page URL with the `ask` query parameter:
```
GET https://www.pythonclassroom.com/master.md?ask=<question>
```
The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.
Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
