Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

lucky12345

  • 3 years ago

problem set 6 here z my code http://pastebin.com/tQNBiaRn the code z nt working properly :-( plz help

  • This Question is Closed
  1. jordibs
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    The trigger instance must be returned to the caller function if either of the conditions is satisfied

  2. lucky12345
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    THIS IS MY OUTPUT Trigger file: t1 TITLE NASA **** RUNNING MAKETRIGGER ON TRIGGER FILE **** True --> Is trigger t1 in triggerMap? False **** ERROR: Length of triggerMap should be 1; it is: 0 REQUIRED OUTPUT IS Trigger file: t1 TITLE NASA **** RUNNING MAKETRIGGER ON TRIGGER FILE **** TitleTrigger made with word: NASA --> Is trigger t1 in triggerMap? True

  3. MicroBot
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    your problem is here: "This helper function should build and return a trigger depending on its type. It also keeps track of triggers and names in a map." your function does not keep track of them in a map (or else called dictionary).

  4. MicroBot
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    "Modifies triggerMap, adding a new key-value pair for this trigger."

  5. lucky12345
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    did it :-)

  6. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Sign Up
Find more explanations on OpenStudy
Privacy Policy