Created
December 17, 2021 16:29
-
-
Save yuyueugene84/35bc28ca2242415cb528a1457b3be34e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a = int(input()) | |
b = int(input()) | |
total = 0 | |
for i in range(a, b + 1): | |
total += i | |
print(total) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment