if "-" in str(energy_theory[0]): energy_theory = energy_theory[1:] Percentage_theory = Percentage_theory[1:]