LearnPy Hub
← Recursion & Lambda problems
Medium

Largest by Recursion

Write a recursive biggest(nums) that returns the largest number (no max() on the whole list). Read integers and print it.

Input

One line.

Output

One integer.

Sample 1

Input
3 9 2
Output
9

Sample 2

Input
5
Output
5
solution.py
Output appears here
Largest by Recursion · Python practice problem · LearnPy Hub