data = [1, 3, 5]
pairs = []
k = 2
for x in range(len(data)):
    pairs.append((data[x], data[x + 1]))
    if x + 1 == k:
        break
print(pairs)

00a96af1e665bb389ae2c4ff214048c404e68035
<mask token>

<mask token>
for x in range(len(data)):
    pairs.append((data[x], data[x + 1]))
    if x + 1 == k:
        break
print(pairs)

data = [1, 3, 5]
pairs = []
k = 2
for x in range(len(data)):
    pairs.append((data[x], data[x + 1]))
    if x + 1 == k:
        break
print(pairs)
