Dec-31-2019, 05:09 PM
You should make sure to post the entire error, exactly as it appears, because it gives useful information about the error (like on which line it occurred).
At a guess, though, on line 32, what do you expect the value of
At a guess, though, on line 32, what do you expect the value of
choix1
to be on the first iteration of that loop, given that m
is an empty list (from line 26)? What do you want to happen in that case?