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.

  • 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

Focus on these four key concepts when first teaching C to help students with previous programing experiences transition from higher-level languages such as Python.
Spend extra time covering these three topics students have a really hard time with in Java: references and primitives, inheritance, and nested loops.
Start the day with students pair programming and then split them up; it makes later collaboration natural and reduces frustration.

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

Privacy Policy