TIL: for loops in Python supports else

for i in ["foo", "bar", "baz"]:
	if "z" in i:
		continue
	print(i)
else:
	print("this is a thing?")

comments