KnowledgeBoat Logo

Computer Science

Write a program to calculate the minimum element of a given list of numbers.

Python

Python List Manipulation

5 Likes

Answer

l = eval(input("Enter a list: "))
m = min(l)
print("Minimum element in the list:", m)

Output

Enter a list: [1, 4, 65, 34, 23]
Minimum element in the list: 1

Answered By

3 Likes


Related Questions