Conversor Python → Cython
Escribe código Python, añade type declarations y observa la aceleración simulada.
def sum_list(n):\n total = 0\n for i in range(n):\n total += i\n return total
def sum_list(int n):\n cdef int total = 0\n cdef int i\n for i in range(n):\n total += i\n return total