¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita+ 2
python loop continue
why print(i) statement is written after break statement??
1 Respuesta
0
without seeing the code, the break exits the loop and proceeds to the next part of the code which in your case is the print(I)