I am a beginner in python. I have written a simple program to find greatest of 3 numbers. I get the right answer when I give input numbers having same number of digits (Eg. 50 8
You can find the maximum of any number of numbers with max
print "The greatest number is " + max(int(num1), int(num2), int(num3))