Posts by guizin • 1 point
1 post
-
-2
votes1
answer41
viewsQ: I am making a program in python, and Return is not working
def primo(b, d): d = 0 c = 1 x = 0 while c < b+1: if b % c == 0: x += 1 c +=1 if x == 2: d = 1 return d d = 0 c = [] b = 3 a = int(input ("coloque o número que você quer que seja 'fatorado': "))…