They say that the one in first place is always greater than the one in the second and third place. Are they always right?
Instructions:
Instructions
Input
Three lines containing an integer on each.
3
2
1
Output
The first line contains all the three inputted integers.
The second line contains a string which is the result.
3·2·1
Yes
Source code
print("Enter three numbers in different lines: ")
n1=int(input())
n2=int(input())
n3=int(input())
print()
print(n1," ",n2," ",n3)
if(n1>n2 and n1>n3):
print("Yes")
Output
Comments
Leave a comment