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.
Btw, you in which standard? @Parth Lohomi
Pretty much, you can write it as 2 ( 6 ∗ 1 + 5 ∗ 2 + 4 ∗ 3 ) = 5 6 . :P
Guys..this is a best example for nested FOR loop.
Python:
sum(sum(sum(1 for k in range(1,g+1)) for g in range(1,i+1)) for i in range(1,7))
Problem Loading...
Note Loading...
Set Loading...
I haven't really laid my hands on multi-summation problems before and this was the first one, but I got the answer correct when I applied the below mentioned: