ShareCopy to ClipboardRawPreviewn = 28 sump = 0 for i in range(1, n): if(n % i == 0): sump= sump + i if (sump == n): print("The number is a Perfect number") else: print("The number is not a Perfect number") Perfect Number Code00CrypticSai-080 CommentsAdd CommentLog in to add a comment