Zapobiegaj indeksowi listy poza zakresem Python
m = [0,1]
try:
m[3] = 9
except IndexError:
pass
elcharitas
m = [0,1]
try:
m[3] = 9
except IndexError:
pass