Team LiB
Previous Section Next Section

Python

The Python version of the program looks almost exactly like the Perl one. However, Python is really a very different language than Perl, even if it doesn't seem so from this trivial example. Type the program into a file named Hello-World.py. The program follows:

#!/usr/bin/python
print "Hello World"

You should be able to tell what the different lines of the program do.


Team LiB
Previous Section Next Section