Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Indefinite loop ( I think )
#2
There seem to be a number of syntax issues here, to mention a few:
1. please use [python] tags, so indentation becomes visible
2.if you need var2 , var1 times it should be inside the loop
3. The for loop needs proper syntax + indentation
4. if this is python 3 : print(...) needs brackets
5. to calculate average, either a function or an addition is needed

Paul
It is more important to do the right thing, than to do the thing right.(P.Drucker)
Better is the enemy of good. (Montesquieu) = French version for 'kiss'.
Reply


Messages In This Thread
Indefinite loop ( I think ) - by marsh20 - Aug-20-2020, 07:10 AM
RE: Indefinite loop ( I think ) - by DPaul - Aug-20-2020, 09:14 AM
RE: Indefinite loop ( I think ) - by deanhystad - Aug-20-2020, 12:33 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Which GUI can have indefinite loop ? jst 20 2,075 Nov-16-2023, 10:23 PM
Last Post: jst
  Init an indefinite number of class MathisDELAGE 9 2,472 Feb-18-2022, 07:49 PM
Last Post: deanhystad
  indefinite loop Johnygo 3 2,212 Jul-03-2019, 12:53 PM
Last Post: Johnygo

Forum Jump:

User Panel Messages

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