Assignment: Duel v2

For loop and variable for math formulas