```
def factorial(x):
if x == 0 or x == 1:
fact = 1
return fact
else:
for v in range(1, x+1):
fact = 1
fact = v * fact
return fact
```

When I save and submit it says "Oops, try again. factorial(2) returned 1 instead of 2"