def buildResponse(cls, cursor, pokemon): for (name, baseAttack) in cursor: return buildQuestion("{} has {} base attack. ".format( name, baseAttack)) return buildQuestion("{} isn't a gen 1 Pokemon. ".format(pokemon))
def buildResponse(cls, cursor, pokemon): for (name, baseSpecial) in cursor: return buildQuestion("{} has {} base special. ".format( name, baseSpecial)) return buildQuestion("{} isn't a gen 1 Pokemon. ".format(pokemon))
def buildResponse(cls, cursor, pokemon): for (name, baseDefense) in cursor: return buildQuestion("{} has {} base defense. ".format( name, baseDefense)) return buildQuestion("{} isn't a gen 1 Pokemon. ".format(pokemon))
def buildResponse(cls, cursor, pokemon): for (name, nationalIDNumber) in cursor: return buildQuestion("{} has the ID number {}. ".format( name, nationalIDNumber)) return buildQuestion("{} isn't a gen 1 Pokemon. ".format(pokemon))
def buildResponse(cls, cursor, pokemon): for (name, type1, type2) in cursor: if (type2 is None): return buildQuestion("{} is a {} type Pokemon. ".format( name, type1)) return buildQuestion("{} is a {} and {} type Pokemon. ".format( name, type1, type2)) return buildQuestion("{} isn't a gen 1 Pokemon. ".format(pokemon))
def buildResponse(cls, cursor, pokemon): for (name, weight) in cursor: return buildQuestion("{} is {}. ".format(name, weight)) return buildQuestion("{} isn't a gen 1 Pokemon. ".format(pokemon))