Advertisement
T-D-K

Untitled

Jun 29th, 2018
271
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.09 KB | None | 0 0
  1. a, b = map(int, input().split())
  2. r = 0
  3. for i in range(a, b + 1):
  4.     r += i * i
  5. print(r)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement