Leap of Faith
- dyeo
- 3 years ago
- 414 views
Can the turtle jump across the gap? Let's find out! Go ahead and press "run" and sit back and see what happens. Press run multiple times and see if you notice anything. The turtle doesn't always go the exact same path as before, it changes randomly! This is because dyeo created a random number generator to decide which path the turtle will take. Sometimes the turtle jumps too early and doesn't make it. Sometimes the turtle jumps exactly when it needs to in order to get across. How many tries didn't take for your turtle to make it across?
import turtle
import random
Locked
Canvas
Console