Sorry, I do not speak Portuguese! However, I could easily find-out what the snippet was doing by simple logic.
I have been teaching programming/data for the past 2 years and you're right, simplification is of utmost importance for students. Actually, when teaching programming with Python, I go with them in the process of translating their logic to English first then it's almost a 1-to-1 mapping with the instruction set (for simple algorithms). Same goes for SQL.
Anyhow, nice concept here, curious to see where it goes!