Answer to Question #240234 in Python for saksham

Question #240234

The first line will contain a message prompt to input the first number.

The second line will contain a message prompt to input the second number.

The third line will contain a message prompt to input the third number.

The last line will contain the largest among the three numbers.


Enter·the·first·number:·1

Enter·the·second·number:·2

Enter·the·third·number:·3

The·largest·number·is·3



1
Expert's answer
2021-09-22T00:05:35-0400
print(max([int(input()) for _ in range(3)]))

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