problems solved through python