Regarding factorial number

here it is telling fact cannot be used as a function and i tried also other names but it is not coming

hey @ssmit_joshi
Please share your code in IDE :slight_smile:

Hey @ssmit_joshi
you have a variable named fact in your code on LINE 6 remove that and it will work fine
variable and function cant have the same name :slight_smile:

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.