anonymous
  • anonymous
Hey I just wanted to make sure this is a recursive program. http://dpaste.com/hold/528254/
MIT 6.00 Intro Computer Science (OCW)
  • Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
SOLVED
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
jamiebookeater
  • jamiebookeater
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
anonymous
  • anonymous
Nope it doesnt call itself
anonymous
  • anonymous
ok I redid it http://dpaste.com/hold/528258/ how would I make this print the right output.
anonymous
  • anonymous
I got it to print but not how i wanted it to http://dpaste.com/528260/. I want it to print in the function.

Looking for something else?

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

More answers

anonymous
  • anonymous
I think you may want to redesign the way your function is written. I would try something like this: http://dpaste.com/528263/
anonymous
  • anonymous
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.
anonymous
  • anonymous
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:]
anonymous
  • anonymous
sorry i did not see your second script, that works, but your first two did not.
anonymous
  • anonymous
err third...
anonymous
  • anonymous
haha ok thanks
anonymous
  • anonymous
final finished script is here if anyone needs it for pset2a recursive http://dpaste.com/hold/528266/
anonymous
  • anonymous
i mean pset3a

Looking for something else?

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