+ 2
There is error in my python code, I can't understand what's wrong.Pls explain the error.The program find the dividers of number.
2 Answers
+ 3
I think the first error can be addressed by making p into a list.
Change
p=set(num)-set(np)
To
p=list(set(num)-set(np))
After that, y is undefined.
After that, s is undefined.
+ 1
Thanks you