Skip to content

Commit 2bbdcd6

Browse files
committedMay 7, 2020
1132 - Múltiplos de 13
1 parent 2aaac74 commit 2bbdcd6

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
 

‎Beginner/1132.py

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
count: int = 0
2+
3+
x = int(input())
4+
y = int(input())
5+
6+
if y > x:
7+
for i in range(x, y+1, 1):
8+
if i % 13 != 0:
9+
count += i
10+
11+
if x > y:
12+
for i in range(y, x+1, 1):
13+
if i % 13 != 0:
14+
count += i
15+
16+
print('{}'.format(count))

0 commit comments

Comments
 (0)
Please sign in to comment.