This commit is contained in:
2022-12-28 09:00:47 +01:00
commit 9d755dc551
19 changed files with 201 additions and 0 deletions

16
zone.py Normal file
View File

@@ -0,0 +1,16 @@
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)