function print_formula(base, levels)
for level = 1, levels do
formula = (base + level) * (1.01 + (level/100) * level)
print("Level " .. level .. ": " .. formula)
end
end
print_formula(250, 25)
To embed this project on your website, copy the following code and paste it into your website's HTML: