Posts by d. fritoti • 85 points
2 posts
-
4
votes3
answers4922
viewsQ: python recursive function to compute sum of the elements of a list
I’m having difficulty in an exercise where I have to show the sum of all the elements of a list recursively. The code I arrived has only the basis of the recursion, the recursion itself did not do,…
-
4
votes2
answers2031
viewsQ: Find smallest string from a python list
how do I do a function to determine the smallest string in a list by entering spaces? For example, when typing: menor_elemento(["joão", " a ", "arrozz"]) the output must return "a" (no spaces), as…
pythonasked d. fritoti 85