DS with Python - Average of Rows | Sololearn: Learn to code for FREE!


DS with Python - Average of Rows

I cannot load the page for project Average of Rows. Page not found. Error 404. https://www.sololearn.com/learning/eom-project/1093/111

1/17/2021 3:06:03 PM

Yew Choy

2 Answers

New Answer


Same experience here, You can solve it on app version instead. Anyway, there's nothing we can do but to mail them for this problem: E-mail: [email protected] Or maybe someone here had the same bug in the past and had fixed it, then please share your story. Thanks!


Data Science - the perfect solution for average of rows n, p = [int(x) for x in input().split()] import numpy as np rm = [] for i in range(n): for a in input().split(): rm.append(float(a)) a = np.array(rm).reshape((n,p)) c = np.mean(a,axis=1) p = np.around(c,2) print(p)