A community for students.

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

anonymous

  • 4 years ago

ps3, problem 2 Hello What are other approaches for solving problem 2 in ps3? http://dpaste.com/hold/693698/

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

    http://dpaste.com/693796/

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

    Thank you very much

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

    subStringMatchExact1 returns TypeError: bad operand type for unary +: 'tuple'

  4. anonymous
    • 4 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    do you know how to fix it?

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

    Actually, no That what was killing in the first place. Well, I was trying not exactly the same way, but there were similar type error

  6. anonymous
    • 4 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    http://dpaste.com/693951/

  7. anonymous
    • 4 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    So, as I wrote in another question, I've spent 2 day in tuples, strings and recursion and did not come up with answer. So now I am starting to suspect that words 'These problems can be solved with either an iterative function or a recursive one' were just exaggeration (regarding to problem2) .

  8. anonymous
    • 4 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    .. you Can write either an iterative or recursive solution

  9. anonymous
    • 4 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    your last function return wrong answer

  10. anonymous
    • 4 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    yes, I can agree it was stupid to spend 2 days trying to find unnecessary extrasolution

  11. anonymous
    • 4 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    yep - i was flirting with processing the result after the fact, while wrong the information is there. http://pastebin.com/jLEMVG38

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

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...

23

  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.