Wednesday, January 28, 2015

Python Lists

The list is a most versatile data type available in Python which can be written as a list of comma-separated values (items) between square brackets. Good thing about a list is that items in a list need not all have the same type.

Source Code: example8.py
Output: Python Shell
 Reference: www.tutorialspoint.com

No comments:

Post a Comment