i am having trouble with this factorial thing. Can anyone please help me please?
Oops, try again. factorial(1) returned  instead of 1
the console window says none
def factorial(x): total =  answer = 1 def listing(x): while int(x) > 0: total.append(x) x -= 1 return total return listing(x) def multiplying(x): for n in total: answer *= n return answer return multiplying(x).