python解一元一次方程_Python实现3行代码解简单的一元一次方程
Python实现3行代码解简单的一元一次方程class Solution(object):def exec(self, equation):vars = NoneeqList = list(equation)denth = 0for i,each in enumerate(equation):if each in "abcdefghijklmnopqrstuvwxyz":vars = eachif...