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.