Why does using `any` here cause this program to hang, but using a `for` loop doesn't?

Eklenme Tarih 1 hour ago
Active 19
Görüntülenme 89
S

Why does using `any` here cause this program to hang, but using a `for` loop doesn't?