Cara Mengurangi Segala Sesuatu dalam Daftar Python

num = [1,2,3,4]

for x in range(len(num)):
  num[x]-=1 #Same as num[x] = num[x]-1
 
print(num)
#Good luck my future sofwtare devs
Animatnetic