zsh c-style for loop

Developer from somewhere

for ((i = 0; i < 10; i++)); do
  echo $i
done