+ 1
A list z of length len(y)/2
The function takes in input a list of numbers y of even length, and returns a list z of length len(y)/2, such that: • z[i] = True if y[-i] < y[i] • z[i] = False otherwise
3 Respuestas
+ 5
you've finished it, haven't you?
z = [ True if y[-i]<y[i] else False for i in range(len(y)/2) ]
0
Give an example of what you want
0
i do not have an example