Created
September 19, 2015 11:52
-
-
Save njadhav1/d19f0219100ee56e13e2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# Find grater number in 3 number and if all three are same print all number equal | |
num1=input("Print number 1 : ") | |
num2=input("Print number 2 : ") | |
num3=input("Print number 3 : ") | |
###### Logic via IF variables | |
if(num1 > num2 and num1 > num3): | |
print "Number 1 is greter : {}".format(num1) | |
elif(num2 > num3 and num2 > num1): | |
print "Number 2 is grater: {}".fomrat(num2) | |
elif(num3 > num1 and num3 > num2): | |
print "Number 3 is grate : {}".format(num3) | |
else: | |
print "All Threee number are equal: {}".format(num1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment