can you write a document of my code python it s not too long and it s like half an hours work

I think I have explain everything in the code. I have added comment too, I think I have added document too but I don’t know what is document. This is my first time writing documentation.