Intro to Programming with 🐢Turtles🐢¶

  • Getting started
    • Welcome!
    • How to use this course
    • Computer programming and failure
    • What you’ll need
    • What is Python, exactly?
    • Using Python
  • Alternative Python Setup
    • Noteable
    • Python and a text editor
  • Simple drawing with turtle
    • Introduction
    • Resetting the turtle display
    • Drawing a square
    • Drawing a rectangle
    • More squares
  • A bit of history
    • Who invented turtle graphics?
    • Why is it called a turtle?
    • What’s the advantage of turtle graphics?
    • Extra question: Why Python and not Logo?
    • Credits
  • Variables
    • Introduction
    • A variable called angle
    • The house of santa claus
  • Loops
    • Introduction
    • Drawing a dashed line
    • Comments
    • More Efficient Squares
  • User-defined functions
    • Introduction
    • A function for a square
    • A function for a hexagon
  • Functions with parameters
    • Introduction
    • A parameterized function for a variable size hexagon
    • A function of several parameters
  • Conditional statements
    • Introduction
    • Examples
    • Giving Directions
    • “data munging”
  • Conditional Loops
    • Introduction
    • Turtle prison
    • Draw a spiral
  • Logical operators
    • Introduction
    • Negation of a statement
    • This and that or something else
  • Where to go from here
    • Learning Python
    • What to do with Python
  • License
    • Contributors

Python and 🐢 Turtles 🐢

Navigation

  • Getting started
  • Alternative Python Setup
  • Simple drawing with turtle
  • A bit of history
  • Variables
  • Loops
  • User-defined functions
  • Functions with parameters
  • Conditional statements
  • Conditional Loops
  • Logical operators
  • Where to go from here
  • License

Quick search

©2012–2021, OpenTechSchool and contributors, adapted by Alisdair Tullo for the University of Edinburgh. | Powered by Sphinx 7.2.6 & Alabaster 0.7.13