Drawing an English ruler
Smaller interval, middle tick, smaller interval.
Lecture 8 · slide 39
Edit the last line, then click Run code.
Try draw_ruler(2, 4) or draw_interval(3).
Ruler
Each printed line becomes one tick.
Run the code to draw the ruler.
Printed output
Your program’s output will appear here.