Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

remember and collect values/output

Hello, I am working with a function that involves random values. Thus, every time I run my code I get different values(in my case it is a set of values). When I get my output I want Sage to remember it and collect it every time I run my code. At the end I'd like to get a list of sets that has been accumulated every time I ran my code. Is there a way to do it?

I tried to research this topic and haven't found anything except saving a list to .txt file.