Escriu la funció capgirat(V) tal que, donat un vector
d’enters V, torni el mateix vector capgirat. Òbviament, no
podeu fer servir cap mètode nadiu del Python per a capgirar el vector,
sinó que cal fer-ho posició a posició.
Entrada
Un vector d’enters V.
Sortida
El vector V, capgirat.
About statements
The official statement of a problem is always the one
in the PDF document. The HTML version of the statement
is also given to help you, but may contain some content
that is not well displayed. In case of doubt, always use the PDF.