You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
450 B
12 lines
450 B
nbJetons = int(input())
|
|
for loop in range(nbJetons):
|
|
x = int(input())
|
|
y = int(input())
|
|
if x < 0 or x > 90 or y < 0 or y > 70:
|
|
print("En dehors de la feuille")
|
|
elif y > 60 and ((x > 15 and x < 45) or (x > 60 and x < 85)):
|
|
print("Dans une zone rouge")
|
|
elif x > 10 and x < 85 and y > 10 and y < 55 and not(x > 25 and x < 50 and y > 20 and y < 45):
|
|
print("Dans une zone bleue")
|
|
else:
|
|
print("Dans une zone jaune")
|