Created
February 28, 2019 22:57
-
-
Save claraj/1d9bab98f374728f427a44d14a425a7d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
small_num = int(input('enter the small number ')) | |
large_num = int(input('enter the large number ')) | |
total = 0 | |
for number in range(small_num, large_num + 1): | |
print(number) | |
total = total + number | |
print(f'the total is {total}') | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment