Van, csak nem te nevezed el. :)) A "for each tanulo in osztaly"-ban a tanulo nem ciklusváltozó, az az adat. A ciklusváltozó rejtve marad.