python program to find armstrong number in an interval