4.3.3. Réassignage des variables
a=[1, 2, 3]
for i in range(len(a)):
a[i] += 1
Evil Emu
a=[1, 2, 3]
for i in range(len(a)):
a[i] += 1
/*You can assign a value to a variable, and later assign it a
different value.*/
let day = "Thursday";
console.log(day);
day = "Friday";
console.log(day);
day = 21;
console.log(day);