Lambda functions in Python are anonymous functions that are single expression functions to work on variables.
For in loop is used to iterate over an array and return the value at the current index.
Here, we will apply the given lambda function to return the grade of the students of a class. The marks of all students are stored in an array. And we will use the for in loop to access each value of the array.