First time here? Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

answered 14 years ago

ccanonc gravatar image

plot([prime_pi(x) for x in xrange(3,10+1)])

plot([prime_pi(x) list_plot([(x,prime_pi(x)) for x in xrange(3,10+1)])

click to hide/show revision 3
quoting issue

list_plot([(x,prime_pi(x)) for x in xrange(3,10+1)])