Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
odd or even minute
#4
With line 7 outside of the loop, you'll always be checking the same number for evenness. When it worked yesterday, that could have resulted from the random wait time. Move line 7 into your for loop and it should work.
Reply


Messages In This Thread
odd or even minute - by Dixon - Dec-27-2019, 04:12 PM
RE: odd or even minute - by ndc85430 - Dec-27-2019, 04:31 PM
RE: odd or even minute - by Dixon - Dec-27-2019, 07:27 PM
RE: odd or even minute - by stullis - Dec-27-2019, 07:40 PM
RE: odd or even minute - by Dixon - Dec-27-2019, 09:20 PM
RE: odd or even minute - by perfringo - Dec-28-2019, 11:04 AM
RE: odd or even minute - by ndc85430 - Dec-28-2019, 07:16 AM
RE: odd or even minute - by Gribouillis - Dec-28-2019, 07:22 AM
RE: odd or even minute - by ibreeden - Dec-28-2019, 11:12 AM
RE: odd or even minute - by Dixon - Dec-28-2019, 05:07 PM
RE: odd or even minute - by perfringo - Dec-28-2019, 09:22 PM
RE: odd or even minute - by Dixon - Dec-29-2019, 04:58 PM
RE: odd or even minute - by Larz60+ - Dec-31-2019, 09:02 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Having trouble with minute stock data MAZambelli4353 2 2,370 Sep-03-2019, 09:41 AM
Last Post: perfringo
  python crontab remove_all(comment="Minute*") vvarrior 1 2,796 Aug-06-2018, 12:39 AM
Last Post: Larz60+

Forum Jump:

User Panel Messages

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