0
D={'Ahmed':[1,5,3], 'Ali':[6,2,4]} for item in D: count = len(D[item]) - 1 x = 0 while x < count: D[item][count] += 1
i know the outbut but i do not understand how we got it.. please anyone explain it
1 Antwort
0
The code as shown doesn't run nor has anything to output, after fixing the error. You should always link the actual code you run instead of making a copy.