It is showing error

prev=max
Seq_no=1
n=int(input())
for i in range(n):
curr=eval(input())
if(Seq_no==1):
if(prev<=curr):
Seq_no +=1
else:
if(prev>=curr):
Seq_no +=1
break
prev=curr

if(Seq_no==2 or (Seq_no==1 and n !=1)):
print(“true”)
else:
print(“false”)

this is my code
it is showing ‘<=’ int define our something.
please help me how to correct this code.

It is not clear as eval() function is not being provided but what I think their is type conversion problem so while taking input eval(int(input())) it may correct the problem…

@mohdadil.5608
Please save your code on ide.codingblocks.com and then share the URL of that.
Copy pasting code here ruins the indentation. A python code without indentation is simply spoiled.
I’ll take a look at your code then.