[Solved] Python (if, else, elif)
if louis_inventory and louis == 0: This will catch every cases where louis_inventory is truthy – e.g. anything nonzero in case of an int – and louis is zero. So the first elif case is unreachable. I have no idea what exactly you are trying to do but this might fix it: def example(): if … Read more