I want to know

In Java

for (int a = 0;a<10;a ++) {}

When writing in Python

a = 0
while a<10:
    a = a + 1

Is this way of writing common?
I do not know if the Python for statement can do the same thing as the Java for statement, so it is written like this.