python affecter une liste de variables avec une autre liste code example
Example 1: list in python
myList = ["Test", 419]
myList.append(10)
myList.append("my code")
print(myList)
Example 2: additionner liste python
>>> list = [1,2,3,4]
>>> tot = 0
>>> for i in list:
... tot = tot + i
...
>>> tot
10