Fixing Loop error (Hope you already fix that U_U)

Ficxing loops error you all should find and fix to do the homework
Hahahaha.