Create RowAverage.py

A file which has many lines and each row would look like below:

10 55 19 51 2 9 96 64 60 2 45 39 99 60 34 100 33 71 49 13
77 3 32 100 68 90 44 100 10 52 96 95 36 50 96 39 81 25 26 13

Each line as numbers separated by space and each line( row is of different length)

How can I find the average of each row?

How can I find Sum of all the row wise averages?