+ 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.

https://code.sololearn.com/cx12toF76rVm/?ref=app

25th Dec 2022, 3:04 PM
Program27
Program27 - avatar
2 Respostas
+ 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.
25th Dec 2022, 6:16 PM
Brian
Brian - avatar
+ 1
Thanks you
25th Dec 2022, 6:17 PM
Program27
Program27 - avatar