[THIS HAS BEEN SOLVED - COULD NOT MARK THIS POST SOLVED OR DELETE IT (SORRY)]
I was hoping to get some help with this function. I've written it out as:
if x == 1 or x == 0:
if x == 2 or x == 3:
for n in range(3,x-1):
if x % n == 0:
When I run this in python it runs and returns the right answer after looping, but not until the end. How can I go about fixing this?