Factorial

I would like the "ValueError" to appear when the function is called with a float number. But I get

an error message saying that float numbers are not allowed.

```
import math
def factorial(number):
#n=str(number)
if number>=0 and type(number)!=float(number):
fact=math.factorial(number)
return fact
else:
return ValueError
print factorial(1)
print factorial(0)
print factorial(9)
print factorial(2.5)
Replace this line with your code.
```