Creating Lists in python

Assigned 3,45,50,100 Values in Variable Named data and Print the data and Check the datatype of the data variable, The data type is shown as List.

As We have also Printed Different Datatype Values in Variable data1; List is a heterogeneous data type so it will allow us to print different Data type Values .

data1 Variable contains character Values, Numeric Values, Boolean Values and Double/Float data.

Now Let’s Combine Different Lists:

Here Look at the Cell 12, we are Combining Different Lists and the output Prints the Values taken in data2 Variable .

How to check the Python version you are using in your machine ???