Добавить несколько объектов для перечисления Python
m = [6]
m += [1,"foo",2,"bar"]
print(m)
[6,1,"foo",2,"bar"]
Elegant Eel
m = [6]
m += [1,"foo",2,"bar"]
print(m)
[6,1,"foo",2,"bar"]
m = [6]
m += [1,"foo",2,"bar"]
print(m)
[6,1,"foo",2,"bar"]
m = [6]
m += [1,"foo",2,"bar"]
print(m)
[6,1,"foo",2,"bar"]