Knowee
Questions
Features
Study Tools

# Write a function in python which accept a list of marks of students and return the# minim

Question

Write a function in python which accept a list of marks of students and return the# minim

🧐 Not the exact question you are looking for?Go ask a question

Solution

Sure, here is a simple Python function that accepts a list of student marks and returns the minimum mark:

def min_mark(marks):
    return min(marks)

You can use this function like this:

marks = [90, 85, 88, 92, 76]
print(min_mark(marks))  # Output: 76

This function uses the built-in min function in Python, which returns the smallest item in an iterable or the smallest of two or more arguments.

This problem has been solved

Similar Questions

0/0

Upgrade your grade with Knowee

Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.