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.
32 lines
515 B
32 lines
515 B
taille = int(input())
|
|
age = int(input())
|
|
poids = int(input())
|
|
cheval = int(input())
|
|
brun = int(input())
|
|
prob = 0
|
|
|
|
crit1 = (taille >= 178 and taille <= 182)
|
|
crit2 = (age >= 34)
|
|
crit3 = (poids < 70)
|
|
crit4 = (cheval == 0)
|
|
crit5 = (brun == 1)
|
|
|
|
if crit1:
|
|
prob +=1
|
|
if crit2:
|
|
prob +=1
|
|
if crit3:
|
|
prob +=1
|
|
if crit4:
|
|
prob +=1
|
|
if crit5:
|
|
prob +=1
|
|
|
|
if prob == 5:
|
|
print("Très probable")
|
|
elif prob == 4 or prob == 3:
|
|
print("Probable")
|
|
elif prob == 2 or prob == 1:
|
|
print("Peu probable")
|
|
else:
|
|
print("Impossible")
|