TOPIC

Wrong answer (20%)

DouglasConstant asked 6 years ago

def lcxy(): lcxy = (str(input()).split()) l = int(lcxy[0]) c = int(lcxy[1]) x = int(lcxy[2]) y = int(lcxy[3]) if (x%2)==0 and x<l: if (y%2)==0 and y<c: print("Direita") elif (y%2)==1 and y<c: print("Esquerda") elif (x%2)==1 and x<l: if (y % 2) == 0 and y<c: print("Esquerda") elif (y % 2) == 1 and y<c: print("Direita") return None lcxy()

This topic was solved and cannot recieve new replies.