Tambahkan banyak objek untuk membuat daftar 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"]