Posts by Romulo Silva Souza Santos • 1 point
2 posts
-
-3
votes2
answers89
viewsQ: recursive exchange
''' Implement a recursive troca_recursive function she gets a list and two numbers (take and put) and returns the list, changing the number take by the put The first test takes the "simple case":…
-
-2
votes2
answers155
viewsQ: How can I do this recursive function
Implement a recursive file_recursive function it receives a list and a number and returns the list, except every time the number appears For example filtro_recursivo([0,1,2,1,4],1) returns [0,2,4]…