Question #279084

Largest Number in the List

Question : You are given space-separated integers as input. Write a program to print the maximum numbers among the given numbers?

Sample Input_1:

1 0 3 2 9 8

Sample Output_1:

9

Sample Input_2:

-1 -3 -4 0

Sample Output_2:


Expert's answer

# Python 3.9.5

numbers = input('Enter numbers: ')
print(max(numbers.split()))
LATEST TUTORIALS
APPROVED BY CLIENTS