Python Forum
Why does 'if' block run twice
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Why does 'if' block run twice
#3
Thanks Metulburr,

First, it seems like I accidentally set up two usernames for this forum!!! I'll stick to this one from now on....

Anyhow, I think the answer may lie here: https://stackoverflow.com/questions/2459...ins-one-gr

It seems like the way I set up the findall method results in the creation of the tuple, which may be why my if statements are getting evaluated twice (and only twice). I'll try fixing those later today to see if it solves the output problem.
Reply


Messages In This Thread
Why does 'if' block run twice - by laanan - Dec-13-2020, 10:43 PM
RE: Why does 'if' block run twice - by metulburr - Dec-14-2020, 01:52 AM
RE: Why does 'if' block run twice - by matt_the_hall - Dec-14-2020, 03:02 PM

Forum Jump:

User Panel Messages

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