A community for students.

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

anonymous

  • 5 years ago

Hey I just wanted to make sure this is a recursive program. http://dpaste.com/hold/528254/

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

    Nope it doesnt call itself

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

    ok I redid it http://dpaste.com/hold/528258/ how would I make this print the right output.

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

    I got it to print but not how i wanted it to http://dpaste.com/528260/. I want it to print in the function.

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

    I think you may want to redesign the way your function is written. I would try something like this: http://dpaste.com/528263/

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

    Sorry but I don't see why the code you gave me is any better than mine, Mine does exactly the same thing just in a shorter format.

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

    and also i realized you can take out the assignment lis =target but you have to change lis[x+1:] in my line 5 to target[x+1:]

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

    sorry i did not see your second script, that works, but your first two did not.

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

    err third...

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

    haha ok thanks

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

    final finished script is here if anyone needs it for pset2a recursive http://dpaste.com/hold/528266/

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

    i mean pset3a

  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.