Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using Python 3.Thanks. my_list=[[0 , 1, 4, 17, 67, 76, 51, 28, 3, 1, 0, 0],[0, 1, 8, 28, 69, 129 , 83, 55, 19,

Using Python 3.Thanks.

my_list=[[0 , 1, 4, 17, 67, 76, 51, 28, 3, 1, 0, 0],[0, 1, 8, 28, 69, 129 , 83, 55, 19, 4, 0, 0],[0, 0, 0, 0, 8, 86, 55, 0, 0, 0, 0, 0],[0, 1, 10, 24, 43, 64, 58, 58, 26, 12, 0, 0],[0, 0, 2, 15, 56, 116 , 51, 8, 0, 0, 0, 0]]

the result I want is:

[0, 0.6, 4.8, 16.8, 48.6, 94.2, 59.6, 29.8, 9.6, 3.4, 0, 0]

Here, for example, the third number 4.8 is the mean of each third position in their list.

4.8 =(4+8+0+10+2)/5

You can see the result i want is the mean of each number in their particular position in these lists.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Why are hallucinations considered a positive symptom?

Answered: 1 week ago

Question

state what is meant by the term performance management

Answered: 1 week ago