Lists in Python Python has a very versatile data type available that are lists. Lists can be written as comma separated values inside square brackets. As in many other languages python lists can not be of same data type e.g integers or string or floating points. Suppose following code to create a list. oddnumlist =