Amazing comments in my Python Code

--Originally published at codemathblog.wordpress.com

Okey, in this post we are gonna review how to put different kind of comments in Python language,

The simple one!  –>  #

So, if you want to put a comment of just one line, at the start you put the # and then the comment, it finish when you skip to another line

For example:

lol

But if you want to put a comment and keep it in the next lines you need to put “”” to start it and the same to end it,

just like this:

long

And that’s all! But, why de f**k do i wanna put comments on python? or in any code?
In programming, you use comments to point something about a line of code, or a class, or the function of a def, so it is very useful!

Thanks for read, remember to reblog this if you liked it :p