Python codes can be saved in file and executed from Unix shell prompt as follows. First, make the code executable using chmod u+x
Python's single line comment begins with #
Python does not provide multi-line comment option, but provides documentation string which can be used to comment. The documentaition string begins with """ and ends with """