How to crate for loop of two variables in Go?

Answer • 1 Asked • Jan 20 2020
The following for loop in Go isn't allowed,
for i := 0, j := 1; i < 10; i++, j++ {...}

What's the correct equivalent of the for-loop of two variables below?
for (int i = 0, j = 1; i < 10; i ++ , j ++) {...}

Write your answer...

On a mission to build Next-Gen Community Platform for Developers