# Please Append 'solve' Help Documentation

Hello,

I have been using SAGE for about 2 years, and only now have I finally figured out how to get the 'solve()' function to print out its solutions in plain form (so I can save the answers as variables, which is EXTREMELY important for me).

In order to do this: I had to sift through the help pages for 'solve', Programming -- Data Types (for both Lists and Dictionaries), and Python's official documentation on Lists and Dictionaries; until I finally figured out that you need to use the code:

print( 'listname' [ ' dict # ' ] [ 'var' ])

Now this may seem very elementary to those whom are fluent in Python, but for general users (like me): there is absolutely no clear indication on how to call one or several elements of several Dictionaries inside of a List.

PLEASE append your documentation so that people can actually use the 'solve' function without having to copy and paste the answers because it isn't shown how to properly use the output when 'solution_dict=true'.

(Note: if you're thinking about the 'for' loop example in the help documentation: it's completely useless for someone who needs to select one or more of those solutions & save them as variables).

Thank you.

edit retag close merge delete

Thanks very much for this suggestion! Can you edit your question to provide a very explicit example that we could put in the documentation for solve? (I'm myself not 100% clear on what you are trying to do, though I think I have a good inkling.) Indeed, if you put your real name we can even give you full credit for authoring this...