counter = 0 Sum = 0 while counter < 5: Mark = int(input("Enter the mark M{} = ".format(counter+1))) counter += 1 Sum = Sum + Mark Mean = Sum / 5 print("the sum is : ",Sum) print("The mean is : ",Mean)
Mean = Sum / 5
//
17 // 3
%
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)