Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Here is one example.

list_plot([f(i) for i in range(10)])

But there are many, many ways to do this. For instance, if you are plotting a function that returns an ordered pair, then this might be appropriate.

points([f(i) for i in range(10)],marker='^')