Priyanka interview question

Slicing in python . Factorial of number