This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
n 0 = 1 is correct for all n except n = 0 , isn't it?
Log in to reply
Yes. That's correct.
Log in to reply
So would you update your solution to n = 0 ?
Log in to reply
@Md Mehedi Hasan – Yup. You are right, it works for negative numbers too. I will edit it.
π 0 % = π 1 0 0 0 = π 0 = 1
That was helpful, thanks
Problem Loading...
Note Loading...
Set Loading...
n 0 = 1 for all n except 0.