def In_no(n):
if n < n**2:
return n**2 - n
if n > n**2:
if n > n / 2:
return n + n /2
elif n < n /2 :
return 2 * n
elif n + 1 < n:
return abs(n)
else:
return n + 2 - n*2 + n /2
return n - n**2 / (n + 1)
Sum = 0
_loc1_ = 0
while _loc1_ < 11:
_loc2_ = 1
while _loc2_ < 11:
Sum += In_no(_loc1_ / float(_loc2_))
_loc2_ += 1
_loc1_ += 1
print round(Sum)

What does the above output?

Excel in math and science

Master concepts by solving fun, challenging problems.

It's hard to learn from lectures and videos

Learn more effectively through short, interactive explorations.

Used and loved by over 6 million people

Learn from a vibrant community of students and enthusiasts,
including olympiad champions, researchers, and professionals.

Your answer seems reasonable.
Find out if you're right!