My issue
Help me out with this
My code
# cook your dish here
t=int(input())
for i in range(t):
x=int(input())
y=list(map(int,input().split()))
n=0
if (y[n]<=y[n+1]):
for i in range(x):
n=n+1
print("yes")
else:
print ("no")
Learning course: Arrays using Python
Problem Link: CodeChef: Practical coding for everyone