I was saving it like this, but as you can see this is useless in long run because you can't contextualize the codes. (even if you provide comments). So, what'd be best way? I'm thinking of writing codes and their output in Joplin(along with rest of the context) and printing them(or just read pdfs).
Any better ideas?
I'll save in github as well, but I need other ideas for learning from my past codes with context.