First time here? Check out the FAQ!
answered 2017-08-12 09:43:28 +0100
Simpler
A = [(-1)^n/n for n in range(1,20)] list_plot(A)