Skip to main content
CS Teaching Tips

Main navigation

  • Browse All Tips
  • Tags
  • 3D
  • About
  • Rate Tips
  • Tip Sheets

Have students use Python’s Turtle graphics to draw fractals using a Lindenmayer system, instead of recursion, to give students experience with string manipulation.

Share Have students use Python’s Turtle graphics to draw fractals using a Lindenmayer system, instead of recursion, to give students experience with string manipulation. with FacebookShare Have students use Python’s Turtle graphics to draw fractals using a Lindenmayer system, instead of recursion, to give students experience with string manipulation. with Twitter
  • Lindenmeyer systems allow students to draw recursive diagrams without the use of recursion in their implementation.
    • Visit the Lindenmayer systems wiki to learn more.
  • For the full assignment, visit Stanford’s nifty assignment page.

More about this tip

Tags

  • Python
  • CS 1
  • Intro Programming
  • Programming Concepts
  • Meaningful and Relevant Content
External Source
Stanford Nifty Assignment by Eric Roberts.
Other Tips By
Other Tips By Eric Roberts

Similar tips

Spend extra time teaching Big O in intro classes that use Python because the underlying implementation of Python lists is a mystery to students that leads students to believe many operations are constant, O(1), that are not.
Have students analyze the effects of changing pieces of a loop to improve their understanding of loop structure.
Misconception: Students incorrectly assume that Java’s substring method is destructive and wrongly anticipate the original string will change.

For more information or to report a bug, contact us at admin@csteachingtips.org. Built with Bootstrap. Powered by Drupal.

Privacy Policy