AcWing 670. 动物 Python3
原题链接
简单
作者:
sE@_0tT3r
,
2021-03-26 09:54:17
,
所有人可见
,
阅读 535
Python3 代码
sA = input()
sB = input()
sC = input()
if sA == "vertebrado" and sB == "ave" and sC == "onivoro":
print("pomba")
elif sA == "vertebrado" and sB == "ave" and sC == "carnivoro":
print("aguia")
elif sA == "vertebrado" and sB == "mamifero" and sC == "herbivoro":
print("vaca")
elif sA == "vertebrado" and sB == "mamifero" and sC == "onivoro":
print("homem")
elif sA == "invertebrado" and sB == "inseto" and sC == "hematofago":
print("pulga")
elif sA == "invertebrado" and sB == "inseto" and sC == "herbivoro":
print("lagarta")
elif sA == "invertebrado" and sB == "anelideo" and sC == "hematofago":
print("sanguessuga")
elif sA == "invertebrado" and sB == "anelideo" and sC == "onivoro":
print("minhoca")