Posts

Showing posts from January, 2015

Python Laboratory Excersices

Image
L1_2.2 Python Programs
Step 1: Type the Python program using a text editor such as gedit or vi or emacs or Kwrite and save as test1.py ($ gedit test1.py)
Step 3: Modify the above program to display the source code.

# Step 1# ******** ## display Hello Worldprint"Hello world !\n"# Step 3# ******** #print"# display Hello World\n"print"print \"Hello world !\\n\"\n"