N
list = ["a"]
list.append("b")
print(list)
["a","b"]
jak přidat seznam v pythonu
list1 = ["hello"]
list1 = list1 + ["world"]
python přidat do seznamu
#makes an empty list
List = []
#appends "exaple" to that list
List.append(example)
#removes "example" from that list
List.remove(example)
jak se připojit
a.append()
co je append použití
it=[]
for i in range(11):
it.append(i)
print(i)