Python Utwórz listę
string_list = ['a', 'b', 'c']
string_list = ['a', 'b', 'c']
List_name=["values",'string value',1,1.1,'etc']
a = {
"first letter in the alphabet. "
"also used to describe something e.g: "
"{a} cat!"
}
# create lists
x = [i for i in range(5)] # create list
print(x)
y = [[i] for i in range(5)] # create nested list
print(y)
z = [[x, y] for x,y in zip(range(5), range(5,10))] # create nested list
print(z)