I want to use save a definition in the interactive shell. For example, I define
sage: def F(m): ....: return 2*m ....:
but it doesn't work. How can I do to save this definition and then load to work with it.