Minimum value in a tuple

EasyTuple Programs · 3 of 70

Write a Python program to find the minimum value in a tuple.

Advertisement
Input
(36, 5, 79, 25)
Output
5

Approach

  1. min().

Solution

Python
print(min((36, 5, 79, 25)))
Output
5
Advertisement

Learn the concept

New to this topic? Read the lesson, then come back.

More tuple programs

← All 70 Tuple Programs