python/zone.py
2022-12-28 09:00:47 +01:00

17 lines
358 B
Python

nbJetons = int(input())
for loop in range(nbJetons):
jetonX = int(input())
jetonY = int(input())
jauneX = (jetonX >= 0 and jetonX <= 90)
jauneY = (jetonY >= 0 and jetonY <= 70)
bleuX = (jetonX >= 10 and jetonX <= 85)
bleuY = (jetonY >= 10 and jetonY <= 55)
if jauneX and jauneY:
z = "Zone jaune"
if bleuX and bleuY:
z = "Zone bleue"
print(z)