Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

Screech

  • 3 years ago

"Complete sections 3.0-3.5 from Handout 3" Section 3.0 ?? I am assuming this to be a typo since exercises start with 3.1.

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

    Yeah. Did not even notice that. Well spotted.

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

    Having completed 3.1 I noticed the duplicate items in Test Case 3 and went back to fix-up the case when duplicates might creep into the intersection. Try adding this test case for the pathological case. >>> print list_intersection( [2, 4, 5, 6, 7, 4, 5], [2, 4, 5, 7] ) [2, 4, 5, 7]

  3. andrew.m.higgs
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Mine worked. :-)

  4. MOOC-E
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Ack we'll change the e-mail! Thanks @Screech!

  5. 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