Answer to Question #279084 in Python for adarsh

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:


1
Expert's answer
2021-12-13T04:25:53-0500
# Python 3.9.5

numbers = input('Enter numbers: ')
print(max(numbers.split()))

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS