What are you learning?
Patterns
When the same things come back in the same order, that is a pattern.
Loops
A loop repeats the same steps, so it makes patterns. Find the steps, find the loop!
Predicting
Once you know the loop you can say what comes next. Computers do this too.