Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Reinitializing list
Post: RE: Reinitializing list

Yes I have already modified the code. Instead of returning 1, I am returning "tempAllPaths", but I am getting the errors which I reported in my previous message. Anyways I have moved ahead from here ...
Shivesh General Coding Help 8 2,762 Jul-08-2019, 10:07 PM
    Thread: Reinitializing list
Post: RE: Reinitializing list

Hey. Thank you very much. Yes this solved my issue. I have one last issue. When I am trying to return "tempAllPaths" at line #72 to main function. In main function, I have written following line : f...
Shivesh General Coding Help 8 2,762 Jul-08-2019, 09:42 PM
    Thread: Reinitializing list
Post: RE: Reinitializing list

Might be because, when I copy "allPaths[a][0]" to "tempPath", Look at line #36 : tempPath = allPaths[a][0] : And "allPaths[a][0]" also contains a list. So could this be issue ? If yes how can I fi...
Shivesh General Coding Help 8 2,762 Jul-08-2019, 05:53 PM
    Thread: Reinitializing list
Post: RE: Reinitializing list

Hi @ichabod801, Even this doesn't solve my issue. But I guess, problem is not there where you have pointed. Problem is inside for loop. By "for loop", I mean line #29 . Now assume that loop runs fo...
Shivesh General Coding Help 8 2,762 Jul-08-2019, 05:30 PM
    Thread: Reinitializing list
Post: Reinitializing list

Hi Guys, I have written a function in which I have created a local list of pair values. In the end, I append it to a global list. The local list is declared inside for loop. So when, the control goe...
Shivesh General Coding Help 8 2,762 Jul-08-2019, 02:42 PM

User Panel Messages

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