Ah that makes sense. I have never seen a for loop like that. I only used for in bash, python and fortran and they didn’t look like that.
I wonder if for these questions you can ask for clarifications or that’s an instant fail. Are you supposed to instantly recognize what they mean? Like with this example what would you have done?
Ah that makes sense. I have never seen a for loop like that. I only used for in bash, python and fortran and they didn’t look like that.
I wonder if for these questions you can ask for clarifications or that’s an instant fail. Are you supposed to instantly recognize what they mean? Like with this example what would you have done?
That’s Python, by the way. Instead of having to use an index, ‘x’ is already the element of the list corresponding to each iteration.
With python I have the least experience. Well I learned something! Cheers