I am stuck on 5. Factoral
It works and I think it could be written better. It seems sloppy to me. I'm sorry if this gives away the answer to anyone who is currently working on this, I'll delete the post after I get some help.
def factorial(x): valuex = int(x) iteration = int(x) while valuex > 1: iteration *= valuex - 1 valuex -= 1 return iteration print factorial(2)