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
print(max([int(input()) for _ in range(3)]))
Comments
Leave a comment