Answer the question
In order to leave comments, you need to log in
I enter the code into Python, an error comes out, I can’t understand what’s the matter, what should I do?
a=[2,4,3,1,7,5,-6]
for I in range (i,len((a)-i)
if a(i-1)<a(i) and a(i)>a(i+1)
print(i, end=” “)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question