Add comments for code

To get idea about this code for user, We can add comment for code. It doesn't crash with code.

open python shell ->file-> New window

write your code on that gedit

add comment like this,

# to print "Hello world"

press F5 or Run:

When you show the output. It hasn't comment


1 comment:

Narada Rathnasooriya said...

One of many tutorials to come