up
This commit is contained in:
16
zone.py
Normal file
16
zone.py
Normal 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)
|
||||
Reference in New Issue
Block a user