Skip to content
Learning Python
List of Prompts
Initializing search
GitHub Repo
Learning Python
GitHub Repo
Home
Course Description
About Learning Python
Chapters
Chapters
List of Chapters
1. Welcome to Python and Skulpt
1. Welcome to Python and Skulpt
Content
Annotated References
Quiz
2. Python Code Structure
2. Python Code Structure
Content
Annotated References
Quiz
3. Variables and Numbers
3. Variables and Numbers
Content
Annotated References
Quiz
4. Functions and Objects
4. Functions and Objects
Content
Annotated References
Quiz
5. Drawing with Turtle Graphics
5. Drawing with Turtle Graphics
Content
Annotated References
Quiz
6. Math and Arithmetic
6. Math and Arithmetic
Content
Annotated References
Quiz
7. For Loops and Drawing Shapes
7. For Loops and Drawing Shapes
Content
Annotated References
Quiz
8. Working with Strings
8. Working with Strings
Content
Annotated References
Quiz
9. Making Decisions with If/Else
9. Making Decisions with If/Else
Content
Annotated References
Quiz
10. While Loops and Animation
10. While Loops and Animation
Content
Annotated References
Quiz
11. Functions with Parameters and Scope
11. Functions with Parameters and Scope
Content
Annotated References
Quiz
12. Colors, Fill, and Turtle Art
12. Colors, Fill, and Turtle Art
Content
Annotated References
Quiz
13. User Input and Type Conversion
13. User Input and Type Conversion
Content
Annotated References
Quiz
14. String Methods and Formatting
14. String Methods and Formatting
Content
Annotated References
Quiz
15. Lists - Basics
15. Lists - Basics
Content
Annotated References
Quiz
16. Lists - Methods and Patterns
16. Lists - Methods and Patterns
Content
Annotated References
Quiz
17. Modules and Random Numbers
17. Modules and Random Numbers
Content
Annotated References
Quiz
18. Math Module and Turtle Projects
18. Math Module and Turtle Projects
Content
Annotated References
Quiz
19. More Booleans and Conditionals
19. More Booleans and Conditionals
Content
Annotated References
Quiz
20. Tuples and Sets
20. Tuples and Sets
Content
Annotated References
Quiz
21. Dictionaries
21. Dictionaries
Content
Annotated References
Quiz
22. Advanced Collections and Built-in Functions
22. Advanced Collections and Built-in Functions
Content
Annotated References
Quiz
23. Error Handling and Debugging
23. Error Handling and Debugging
Content
Annotated References
Quiz
24. Recursion and Fractals
24. Recursion and Fractals
Content
Annotated References
Quiz
25. Object-Oriented Programming
25. Object-Oriented Programming
Content
Annotated References
Quiz
26. File Input and Output
26. File Input and Output
Content
Annotated References
Quiz
27. Standard Library and JSON
27. Standard Library and JSON
Content
Annotated References
Quiz
28. Python Development Tools
28. Python Development Tools
Content
Annotated References
Quiz
29. Text Processing and Regular Expressions
29. Text Processing and Regular Expressions
Content
Annotated References
Quiz
30. Algorithms and Data Structures
30. Algorithms and Data Structures
Content
Annotated References
Quiz
31. Advanced Functions and OOP
31. Advanced Functions and OOP
Content
Annotated References
Quiz
32. Data Visualization with matplotlib
32. Data Visualization with matplotlib
Content
Annotated References
Quiz
33. NumPy and Scientific Computing
33. NumPy and Scientific Computing
Content
Annotated References
Quiz
34. Image Processing with Pillow
34. Image Processing with Pillow
Content
Annotated References
Quiz
35. Advanced Turtle and Event-Driven Programming
35. Advanced Turtle and Event-Driven Programming
Content
Annotated References
Quiz
36. Computational Thinking and Best Practices
36. Computational Thinking and Best Practices
Content
Annotated References
Quiz
37. Machine Learning Foundations
37. Machine Learning Foundations
Content
Annotated References
Quiz
38. Neural Networks and MNIST
38. Neural Networks and MNIST
Content
Annotated References
Quiz
Python Labs
Python Labs
List of Labs
01. Turtle Commands
02. Drawing a Square
03. Variables
04. Loops and Polygons
04a. Stop Sign
05. If-Else and Colors
06. Functions and Flowers
07. Function Parameters
08. Random Circles
08. Color Lists
08b. Random Stars
10. Reading Errors
11. User Input
12. Fractal Tree
14. Hex Colors
15. Sine Wave
17. Mouse Clicks
Turtle Graphics Gallery
Turtle Graphics Gallery
Gallery
Pattern Ideas
Rainbow Square Spiral
Pinwheel of Triangles
Nested Circles
Starburst
Checkerboard Grid
Diagonal Stripe Field
Dotted Grid
Color Wheel Wedges
Pentagon Chain
Overlapping Squares
Flower with Petal Function
Honeycomb Grid
City Skyline
Snowflake Arms
Polka Dot Canvas
Brick Wall
Stars of Different Sizes
Traffic Light Stack
Fish School
Mountain Range
Archimedean Square Spiral
Rainbow Line Spiral
Hexagonal Spiral
Triangular Spiral
Inward Collapsing Spiral
Colored Logarithmic Spiral
Double Helix Spiral
Fibonacci Spiral
Spiral of Spirals
Color-Banded Pentagon Spiral
Koch Snowflake
Sierpinski Triangle
Fractal Tree
L-System Plant
Turtle Maze Generator
Parametric Surface Projection
Lindenmayer Snowflake Collection
Generative Art Loop
Bouncing Ball
Clock Face
Spirograph Drawer
Spiral Text
Seven-Segment Display
Circular Name Badge
Name in Block Letters
Rotating Squares Illusion
Café Wall Illusion
Moiré Pattern
Bridget Riley Waves
Expanding Hexagons
Lissajous Figure
Rose Curve
Spirograph
Butterfly Curve
Epicycloid Star
Sunflower Seed Spiral
Spider Web
Lightning Bolt
Galaxy Spiral Arms
Ripple Waves
Four-Fold Symmetric Doodle
Six-Fold Mandala
Mirror Butterfly
Truchet Tiles
Islamic Geometric Star
Mandelbrot Pixel Art
Julia Set Pixel Art
Sierpinski Carpet
Barnsley Fern
Anti-Koch Snowflake
Pythagorean Tree
T-Square Fractal
Levy C Curve
Gosper Curve
Dragon Curve
Hilbert Curve
Cantor Dust
Kaleidoscope Slice
Pinwheel Tiling
Escher-Style Fish Tile
Voronoi Color Regions
Penrose Rhombus Tiling
River Delta
Coral Branch
Leaf Venation
DNA Double Helix
Topographic Map
Epitrochoid
Superellipse
Cassini Oval
Fermat's Spiral
Astroid
Mach Bands
Vasarely Sphere
Scintillating Grid
Impossible Triangle
Concentric Ring Pulsation
Binary Tree Name
Turtle Chase
Reaction-Diffusion Pattern
Jupyter Notebooks
Jupyter Notebooks
List of Notebooks
Setup Turtle on Jupyter
Drawing Figure
Setup Canvas on Jupyter Lab
Canvas Color Bars
Advanced Python Examples
Advanced Python Examples
Stock Ticker Analysis
MNIST Digit Prediction
Trinket Labs (deprecated)
Trinket Labs (deprecated)
Introduction
Setting Up Trinket
Turtle Graphics
Turtle Square
Variables
Loops
Stop Sign
Conditional
Functions
Flower
Function Parameters
Lists
List of Turtle Shapes
Random Numbers
Random Stars
Input
Recursion
Shape Module
Color Picker
Sine Wave
Changing background
Controlling mouseclicks
Other examples
Learning Graph
Learning Graph
Introduction
Course Description Assessment
Concept List v1
Concept List
Graph Quality Analysis
Concept Taxonomy
Taxonomy Distribution Report
Mascot Style Guide
FAQ Quality Report
MicroSims
MicroSims
List of MicroSims
Boolean Logic Lab
Code Stepper
Control Flow Explorer
Dice Roll Histogram
Dictionary Key Lookup
Expression Evaluator
For-Loop Stepper
Fractal Tree Explorer
Function Call Flow
Graph Traversal Explorer
Inheritance Explorer
JSON to Python Type Mapper
Learning Graph Viewer
List Index Explorer
Modulo Clock
Object Instance Inspector
Range Explorer
Recursion Call Stack
Regex Match Lab
RGB Color Mixer
Scope Inspector
Search Race
Set Operations Venn
Sine Wave Explorer
Sorting Algorithm Comparer
Stack and Queue Simulator
String Slicer
Turtle State Inspector
Unit Circle Degrees and Radians
Variable Memory Model
While-Loop Stepper
Teacher's Guide
Teacher's Guide
Overview
How to Contribute Examples
Adding Custom Python Labs
The Run ⇄ Pause Button
CodeMirror Editor Example
Order of Concepts
Comparing Textbooks
Sample Prompts
Sample Prompts
List of Prompts
List Old Concepts
Course Description
Learning Graph
Book Chapter Generator
Content Generation Strategy
Glossary
FAQ
References
License
Contact
Sample AI Prompts
¶
Default model: Sonnet with High effort