n1 = int(sys.argv[1])
n2 = int(sys.argv[2])
range1 = list(range(n1, n2+1))
for i in range1:
a = range1[i] / 100
b = (range1[i] / 10)% 10
c = range1[i] % 10
if b > a and b > c:
print("Число" + range1[i] +"пиковое\n")
if range1[i] % 13 == 0:
print("Число" + range1[i] + "делится на 13")
else:
print("Число не пиковое")
Traceback (most recent call last):
File "PICK.py", line 25, in <module>
a = range1[i] / 100
IndexError: list index out of range