3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.2 3.2.1 3.2.0 Korean English Chinese Czech Dutch French German Hungarian Italian Japanese Polish Portuguese Spanish
3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.2 3.2.1 3.2.0 Korean English Chinese Czech Dutch French German Hungarian Italian Japanese Polish Portuguese Spanish

Else in a loop

Features

The "else" block is executed when the loop is executed until the end without being terminated by the "break" function in the middle of executing a loop.

Example

Python
L = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }

for i in L:
	if i % 2 == 0:
		continue
else:
	tp_log("exit without break")