LearnPy Hub
← Recursion & Lambda problems
Medium

Largest With reduce()

Read integers and print the largest using functools.reduce with a lambda (no max()).

Input

Integers separated by spaces.

Output

One integer.

Sample 1

Input
3 9 2
Output
9

Sample 2

Input
5
Output
5
solution.py
Output appears here
Largest With reduce() · Python practice problem · LearnPy Hub