Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
coding
#5
(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).
Reply


Messages In This Thread
coding - by ecovrefoltr - Dec-06-2021, 10:56 AM
RE: coding - by ibreeden - Dec-06-2021, 12:13 PM
RE: coding - by ecovrefoltr - Dec-06-2021, 01:42 PM
RE: coding - by Axel_Erfurt - Dec-06-2021, 01:53 PM
RE: coding - by ibreeden - Dec-06-2021, 05:48 PM
RE: coding - by deanhystad - Dec-06-2021, 06:10 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020