Make Readme file for your executed code of python in VS code. Jupyter notebook is excellent tool to run code in sequence and print output on same page, also supported markdown language, that is the tool of making .md files.
jupyter extension for vs Code.