if x==1 or x==0:
for char in x:
Define a function factorial that takes an integer x as input.
Calculate and return the factorial of that number.
i dont know how to express that x has to be multiplied by (x-1)(x-2)…etc.