Write a program to calculate the prime factors of input integers.
برنامه ای بنویسید که یک عدد از ورودی دریافت کرده و فاکتورهای اول آن را چاپ کند
4
42
88
39
Prime factors of 4 are [2, 2]
Prime factors of 42 are [2, 3, 7]
Prime factors of 88 are [2, 2, 2, 11]
Prime factors of 39 are [3, 13]