Untitled
unknown
plain_text
a year ago
220 B
2
Indexable
Never
pierwszy_input = input().split() pierwszy_input = [int(i) for i in pierwszy_input] drugi_input = input().split() a, b = int(drugi_input[0]), int(drugi_input[1]) print(sum(pierwszy_input[a : b + 1]))