Hi,

I was just wondering how you would convert that snippet to Python ?

```
for(int i=0; i<space.length; i++){
int k=0;
while(numCubes<space[i]){
...
if((k++)>100){
done = 1;
```

I’m not sure how to convert the `if((k++)>100`

part.

```
for i in range(len(space)):
k = 0
while numCubes < space[i];
k += 1
...
if k > 100:
done = 1
```

Does that make sense ?