pizza = 12 answer = [] i = 2 while pizza > 1: if pizza % i == 0: pizza = pizza // i answer.append(i) else: i += 1 print(answer)
To embed this project on your website, copy the following code and paste it into your website's HTML: