Python 3 Solution for URI Problem 1005 : Average 1
Today, I have begin the series of solving first 40 problems of URI Online Judge Beginner in python 3. This is problem number 1005 and 5th post of this series. Let's dig in.
The input file contains 2 floating points' values with one digit after the decimal point.
Print the message "MEDIA"(average in Portuguese) and the student's average according to the following example, with 5 digits after the decimal point and with a blank space before and after the equal signal.
5.0 7.1 0.0 7.1 10.0 10.0
MEDIA = 6.43182 MEDIA = 4.84091 MEDIA = 10.00000
*Note: Please always check the sample output how it's given, or you will get "Presentation Error", pretty annoying.
Get input and multiple by there weight and find out summation after that divided by there weight summation.