Answer:
No, you can't. The if condition must evaluate to some boolean value, which doesn't happen with this for loop.
3.5m questions
4.4m answers