(Dec-06-2021, 01:42 PM)ecovrefoltr Wrote: I know the Indentation (= the number of spaces in front of a line), I deleted all possible spaces and still getting the error msg... but I guess you get the error message on a different line. And I did not say you had to remove all possible spaces, because indentation is necessary when using a for-loop. There you had originally correct indentation, although it is recommended to always have a multiple of 4 spaces as indentation.
It is best to always show the code you have and the complete error message (using the correct tags).