Python Forum
if conditional not firing - unable to understand why
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
if conditional not firing - unable to understand why
#8
I see two problems:

1. Line 66 needs to be indented more.
2. The code does not set Violated or ApproachingSLA before testing them, which should cause an exception.
Reply


Messages In This Thread
RE: if conditional not firing - unable to understand why - by stullis - Oct-20-2018, 12:13 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Unable to understand the meaning of the line of code. jahuja73 0 314 Jan-23-2024, 05:09 AM
Last Post: jahuja73
  Unable to understand how given code takes a fixed input value, without inputting. jahuja73 4 2,715 Jan-28-2021, 05:22 PM
Last Post: snippsat
  .Set - Unable to understand the statement ateestructural 5 2,395 Aug-02-2020, 08:24 PM
Last Post: deanhystad
  Unable to understand a statement in an existing code ateestructural 1 2,243 Aug-01-2020, 09:38 PM
Last Post: deanhystad
  Help with calling the function as the code keep firing chris0147 8 3,967 May-04-2018, 09:00 AM
Last Post: ThiefOfTime

Forum Jump:

User Panel Messages

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