Posts by George Mendonça • 11 points
2 posts
-
0
votes5
answers691
viewsA: Method Reverse returns None
That’s how it works, old boy: def lista_reversa(x): x.reverse() return x lista = ["a", "b", "c"] lista = lista_reversa(lista) print(lista) # ['c', 'b', 'a']…
-
1
votes3
answers2363
viewsA: What does it mean: "functions are first class objects in Javascript"?
In English first-class functions, but it cannot be confused and preconceptualize that there are functions of first, second, third class, etc. Nor are they special functions, differentiated from…