Python_Error collection python: ValueError: math domain error solution:math.log()或者np.log()(最好还是np.log吧,math还是有问题)list存放的是str的话,不能直接放到for循环中,需要用先求出里面的元素个数,再放到range()中