+ 1
sb help me with this ?
Grade Analysis You have a dataframe that includes grades of students. Your program needs to take a number as input, and output the number of students who have a grade greater than the given input. For example, for the input 89, the output should be: [1] 3 as 3 students have grades greater than 89.
2 Answers
+ 2
Mostafa Alafif
Where is your code?
+ 2
Please, firstly show your attempt. After that ask what problem is. Thanks for understanding.
Also, you can use these steps:
1- take all given grades of student. (I think it'salready given)
2- take an input a grade for comparing other grades.
2- use a loop to compare the input with all given grades.
3- use if statement in the loops and count how many grades greater or smaller than the grade which as input.
4- print number that is counted.
Happy coding!