Jun-19-2020, 04:20 PM
In lines 31-40, the value of b is calculated one time (I put in print statements to test) and has the value of zero. lst then has the value of [0] and sum of lst is then obviously 0. Problem is in the logic of that loop
while loop problem
|
|
Messages In This Thread |
while loop problem - by fid - Jun-19-2020, 03:58 PM
RE: while loop problem - by jefsummers - Jun-19-2020, 04:20 PM
RE: while loop problem - by fid - Jun-19-2020, 07:21 PM
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
for loop problem with opencv | Miradox | 1 | 2,446 |
Dec-23-2018, 10:39 PM Last Post: stullis |
|
problem on for-if loop | alrm31015 | 1 | 2,198 |
Aug-21-2018, 05:48 PM Last Post: Gribouillis |