First time here? Check out the FAQ!
asked 10 years ago
What can I do so that the following code works:
sage: var('k') sage: sum(nth_prime(k),k,1,10) ValueError: cannot convert k to int
Thanks in advance!