Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Output in for LOOP iterated
#2
Correct the indentation. Print is currently part of the for-loop body. It should be after and outside the for-loop.
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy

Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Reply


Messages In This Thread
Output in for LOOP iterated - by Renym - Nov-17-2019, 07:51 PM
RE: Output in for LOOP iterated - by perfringo - Nov-17-2019, 09:15 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  The way to chase how the set of integer is iterated in mutating loop khei4 4 832 May-26-2023, 09:17 AM
Last Post: Gribouillis
  using 'while loop' output going into infinite loop... amitkb 2 1,973 Oct-05-2020, 09:18 PM
Last Post: micseydel
  sports Stats > table output loop problems paulfearn100 3 2,526 Jul-22-2020, 03:21 AM
Last Post: c_rutherford
  Print output in single file using pramika loop deepakkhw 1 2,086 Jul-11-2020, 11:57 AM
Last Post: j.crater
  output list reducing each time through loop 3Pinter 6 3,530 Mar-19-2019, 01:31 PM
Last Post: perfringo
  Loops - new terminal output to file for each loop jm_ice 1 2,598 Dec-21-2018, 02:42 PM
Last Post: ichabod801
  A little unexpected output from a while loop linuxnoob 3 3,126 Jul-17-2018, 01:02 AM
Last Post: gontajones

Forum Jump:

User Panel Messages

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