Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a, b = map(int, input().split())
- r = 0
- for i in range(a, b + 1):
- r += i * i
- print(r)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement