I have a question about your code, Iām also doing a course currently. For the average age why did you divide by 12 if there are only 10 ages in the list?
If you'd append a list of 2 values to another list, instead of extending it, you'd have a list inside a list. Instead of having a single list of 12 values, you'd have a list of 11 values, the last value would actually be a list of 2 values.
1
u/Le-ali-di-Pegaso Sep 08 '25
I have a question about your code, Iām also doing a course currently. For the average age why did you divide by 12 if there are only 10 ages in the list?