මෙන්න මේක කොහොමද කරන්නේ පයිතන් වලින්...
? store subject marks of 10 students in to an array and output number of students who have more than average mark of a subject.
from array import *
arr = array('i',[])
n = int (input("Enter the length of the array : "))
for i in range
:
x = int(input("Enter marks : "))
arr.append(x)
? store subject marks of 10 students in to an array and output number of students who have more than average mark of a subject.
from array import *
arr = array('i',[])
n = int (input("Enter the length of the array : "))
for i in range
x = int(input("Enter marks : "))
arr.append(x)