from icons import Heart

for i in range(0,9):
    for j in range(0,9):
        hex_code = "#741"+str(j)+str(i)+str(j)
        Heart(width=5, height=5, color=hex_code, x=10+i*10, y=10+j*10)

For Loop Example 2

by aj999

Created 3 years, 11 months ago.
Based on For Loop Example 2 by jamie.