How can I obtain the value of Python variable from markdown?

1 | initial version |

How can I obtain the value of Python variable from markdown?

How can I obtain the value of Python variable from ~~markdown?~~markdown? I'd like to write both problem and a computed solution using markdown. The solution is obtained from Python script. Therefore, I'd to access Python variable from markdown.

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.