Hey I just wanted to make sure this is a recursive program. http://dpaste.com/hold/528254/
Nope it doesnt call itself
ok I redid it http://dpaste.com/hold/528258/ how would I make this print the right output.
I got it to print but not how i wanted it to http://dpaste.com/528260/. I want it to print in the function.
I think you may want to redesign the way your function is written. I would try something like this: http://dpaste.com/528263/
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.
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:]
sorry i did not see your second script, that works, but your first two did not.
err third...
haha ok thanks
final finished script is here if anyone needs it for pset2a recursive http://dpaste.com/hold/528266/
i mean pset3a
Join our real-time social learning platform and learn together with your friends!