2 Respostas
+ 3
List are a structure data type in python,like tuple,set ,string,and dictionnary.Square brackets indicates that we use a list.To create a list give it a variable name and assign it to a collection of data separated by comma inside square brackets.
a = [1,2,"fg",6]