July 2017
Intermediate to advanced
266 pages
6h 36m
English
The iterators that we discussed earlier in this chapter are very simple in nature. Jinja also provides a more complex way of operating loops within Jinja. Complex (or compound) iterators are common practice within programming and are what make modern algorithms possible. A complex iterator may take many forms, but often includes adding additional compound conditionals or nested loops within the loop sequence. Let's look at a flowchart illustrating a complex iterator (nested loop):

Does this flowchart looks pretty complex? It doesn't need to be. Let's look at the same algorithm in Python:
# Nested For Loop with ...
Read now
Unlock full access