start
stringlengths
5
368
code
stringlengths
5
143
end
stringlengths
5
527
k = '3'; n = '4'
n, k = int(n), int(k)
k = 3; n = 4
c = [4, 5]; e = '0b10101'
c += [str(e).count('1')]
c = [4, 5, 3]; e = '0b10101'
a = 8; b = 12; j = 11
a, b = j - 1, j + 1
a = 10; b = 12; j = 11
n = 11
m = 10 ** (n // 2 + 2)
m = 10000000; n = 11
i = 2; l = {(1): []}
l[i] = []
i = 2; l = {1: [], 2: []}
n = 5
a = n // 5
a = 1; n = 5
d = [0, 3]; t = 3
r = r + t - d[0]
d = [0, 3]; r = -62; t = 3
m = ['HA', 'HC', 'HK', 'AH', 'AC', 'AK', 'CH', 'CA', 'CK', 'KH']; s = 'KA'
m.append(s)
m = ['HA', 'HC', 'HK', 'AH', 'AC', 'AK', 'CH', 'CA', 'CK', 'KH', 'KA']; s = 'KA'
w = 'ive'
g[w] = g[w] + 1 if w in g else 1
g = {'ive': 1}; w = 'ive'
a = 208; o = {(203): 2, (204): 2, (205): 2, (206): 2, (207): 2}
o[a] = 1
a = 208; o = {203: 2, 204: 2, 205: 2, 206: 2, 207: 2, 208: 1}
d = 0, 1; m = 0; u = -1; x = 0; y = -1
x, y = m + d[0], u + d[1]
d = (0, 1); m = 0; u = -1; x = 0; y = 0
b = {(2): ['e', 'a', 'd', 'b'], (1): ['f', 'g']}; o = 'h'; x = 1
b[x].append(o)
b = {2: ['e', 'a', 'd', 'b'], 1: ['f', 'g', 'h']}; o = 'h'; x = 1
d = 3; k = ['b', 'b', 'f', 'b']
d = len(k)
d = 4; k = ['b', 'b', 'f', 'b']
j = 33; t = 1.9999999920837581; x = 2
t = t + j * x ** -j
j = 33; t = 1.9999999959254637; x = 2
s = 'aba'
c = s.count('a')
c = 2; s = 'aba'
r = 9; s = 8
s = r
r = 9; s = 9
f = 75807; g = [0, 1, 3, 7, 15, 31, 63, 127, 255, 81983, 63967, 27935, 55871, 11743, 23487, 46975, 93951, 87903]
g.append(f)
f = 75807; g = [0, 1, 3, 7, 15, 31, 63, 127, 255, 81983, 63967, 27935, 55871, 11743, 23487, 46975, 93951, 87903, 75807]
i = 2; j = 0; z = [1, 2, 1, 1, 1, 1]
z[i] = z[j] + 1
i = 2; j = 0; z = [1, 2, 2, 1, 1, 1]
i = 4; u = [1, 1, 2, 1, 1, 1, 1, 1, 1]
u[i] = u[i - 1] + 1
i = 4; u = [1, 1, 2, 1, 2, 1, 1, 1, 1]
k = 1; m = [1, 1]
m.append(k)
k = 1; m = [1, 1, 1]
f = 'haveaniceday'; i = ['a', 'n']; k = 6
i.append(f[k])
f = 'haveaniceday'; i = ['a', 'n', 'i']; k = 6
g = 2, 2; i = 0; r = 2, 2
r = tuple(g[:i + 1])
g = (2, 2); i = 0; r = (2,)
d = '1111111111111111111'
d += '1'
d = '11111111111111111111'
a = -3916237; d = [-7330761, -6461594, -3916237, -3620601, -357920, -520, -470, -20, 30, 266854, 6246457, 7374819]; i = 3
a = d[i]
a = -3620601; d = [-7330761, -6461594, -3916237, -3620601, -357920, -520, -470, -20, 30, 266854, 6246457, 7374819]; i = 3
i = 34; j = [63, 25, 73, 1, 98, 73, 56, 84, 86, 57, 16, 83, 82, 67, 61, 32, 21, 79, 75, 75, 13, 87, 70, 33]; q = [1, 1, 3, 3, 6, 8, 9, 9, 10, 12, 13, 16, 16, 25, 25, 25, 27, 27, 30, 30, 32, 32, 32, 33, 33, 33]
q.extend([i for j in range(j.count(i))])
i = 34; j = [63, 25, 73, 1, 98, 73, 56, 84, 86, 57, 16, 83, 82, 67, 61, 32, 21, 79, 75, 75, 13, 87, 70, 33]; q = [1, 1, 3, 3, 6, 8, 9, 9, 10, 12, 13, 16, 16, 25, 25, 25, 27, 27, 30, 30, 32, 32, 32, 33, 33, 33]
d = deque([]); z = ['append', '1']
d.append(int(z[1]))
d = deque([1]); z = ['append', '1']
k = 'bb'; s = ['a', 'b']
k = ''.join(s)
k = 'ab'; s = ['a', 'b']
a = [1, 2, 3, 1, 1, 2, 3, 1, 10]; j = 6; s = 157
s = s + j * a[7] ** j
a = [1, 2, 3, 1, 1, 2, 3, 1, 10]; j = 6; s = 163
r = ['.', '.', '.', '.', '.', '.', '.', '.', '.']
r.append('.')
r = ['.', '.', '.', '.', '.', '.', '.', '.', '.', '.']
a = 7; c = 3; p = 2
p = a % c
a = 7; c = 3; p = 1
g = {(37.21): ['Harry', 'Berry'], (37.2): ['Tina'], (41.0): ['Akriti']}; r = 39.0; w = 'Harsh'
g.setdefault(r, []).append(w)
g = {37.21: ['Harry', 'Berry'], 37.2: ['Tina'], 41.0: ['Akriti'], 39.0: ['Harsh']}; r = 39.0; w = 'Harsh'
k = 5.0; x = 4.5
k += x
k = 9.5; x = 4.5
i = 1; j = 4; k = 2; p = [(2, 3), (5, 4), (7, 1), (8, 2), (20, 0)]
i = p[k][0] - p[j][0]
i = -13; j = 4; k = 2; p = [(2, 3), (5, 4), (7, 1), (8, 2), (20, 0)]
i = 1
l.append(i)
i = 1; l = [1]
e = '4\n'
e = e.replace('\n', '')
e = '4'
i = 3; m = [1.0, 1.0, 1.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; u = [2, 2, 2, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
m[i] = u[i] / 2
i = 3; m = [1.0, 1.0, 1.0, 1.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; u = [2, 2, 2, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
e = ['a', 'b']; x = 'c'
e.append(x)
e = ['a', 'b', 'c']; x = 'c'
c = 'ab'; i = 1; y = 'dcba'
c = ''.join(sorted(y[i:]))
c = 'abc'; i = 1; y = 'dcba'
d = ['c', 'd', 'e', 'f', 'g', 'h', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't']; x = 'u'
d.append(x)
d = ['c', 'd', 'e', 'f', 'g', 'h', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u']; x = 'u'
h = [1, 2, 3]; i = 3
i = i % len(h)
h = [1, 2, 3]; i = 0
a = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]; j = 7; p = 127
p = p + a[j] * 2 ** j
a = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]; j = 7; p = 255
i = 1, 0, 0; j = 0; k = [5, 4]; z = 206
z += k[i[j]] ** 2
i = (1, 0, 0); j = 0; k = [5, 4]; z = 222
z = [1, 1, 2, 3, 5, 8]
z.append(z[-2] + z[-1])
z = [1, 1, 2, 3, 5, 8, 13]
a = '6'; t = '3'; u = '10'
t, a, u = [int(t), int(a), int(u)]
a = 6; t = 3; u = 10
a = [1, 2, 3, 4, 5]; j = 2; n = 1
n = a[j] - a[i]
a = [1, 2, 3, 4, 5]; i = True; j = 2; n = 1
s = 'f'; x = {'i': 1}
x[s] = 1
s = 'f'; x = {'i': 1, 'f': 1}
n = {(4, 6), (5, 3)}; x = 5; y = 4
n.add((x, y))
n = {(5, 4), (4, 6), (5, 3)}; x = 5; y = 4
a = [1, 3, 4, 5, 6, 2]; c = 5; u = 6
u = a[c]
a = [1, 3, 4, 5, 6, 2]; c = 5; u = 2
a = [6, 3, 0, 0, 0, 0, 0, 0, 0, 0]; i = 2; j = 3; z = [1, 2, 3, 4, 10, 20, 30, 40, 100, 200]
a[i] += z[j] - z[i]
a = [6, 3, 1, 0, 0, 0, 0, 0, 0, 0]; i = 2; j = 3; z = [1, 2, 3, 4, 10, 20, 30, 40, 100, 200]
a = 1; c = 1; x = 3
a = (x - c) // 2
a = 1; c = 1; x = 3
k = 18; z = 1
k = z + 1
k = 2; z = 1
i = 1; j = 1; l = [[0, 2, 1], [1, 1, 1], [2, 0, 0]]; y = [3, 1, 0]
y[i] += l[i][j]
i = 1; j = 1; l = [[0, 2, 1], [1, 1, 1], [2, 0, 0]]; y = [3, 2, 0]
u = 3
u += 1
u = 4
i = '2'; q = [1]
q.append(int(i))
i = '2'; q = [1, 2]
b = 31; x = 27
x = b
b = 31; x = 31
j = 5; m = 3; w = """5 1\n1 2 3 4 5\n\n\n\n"""
w = j / m
j = 5; m = 3; w = 1.6666666666666667
j = 116; p = [4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114]
p.append(j)
j = 116; p = [4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116]
s = 0
t = {s: 1}
s = 0; t = {0: 1}
o = 'c'
m[o] = 1
m = {'c': 1}; o = 'c'
e = 4; i = 6
i = i + e
e = 4; i = 10
k = ['a', 'i', 'l', 'u']; u = 'iluh'
k = list(u)
k = ['i', 'l', 'u', 'h']; u = 'iluh'
k = 3; l = [10, 20, 30, 100, 200, 300, 1000]
t = sum(l[:k - 1])
k = 3; l = [10, 20, 30, 100, 200, 300, 1000]; t = 30
i = 3; k = 3
i = i + k
i = 6; k = 3
g = ['10101', '11100', '11010', '00101']; i = '11010'; j = 3; o = 4
o = int(i, 2) | int(g[j], 2)
g = ['10101', '11100', '11010', '00101']; i = '11010'; j = 3; o = 31
f = 2; i = 5
f = i - 1
f = 4; i = 5
p = '000000000000100'
p = '0' + p
p = '0000000000000100'
h = ['5', '5', '5', '5', '5', '5', '3', '3', '3', '3']
h.append('3')
h = ['5', '5', '5', '5', '5', '5', '3', '3', '3', '3', '3']
e = 0.6666666666666666; i = 0; q = 0.6666666666666666; t = 0.3333333333333333
q += t / 2 ** (i + 1) + e / 2 ** (i + 1)
e = 0.6666666666666666; i = 0; q = 1.1666666666666665; t = 0.3333333333333333
p = [set(), set(), {2}, {3}]; x = [1, 2, 3]
b = p[x[0]]
b = set(); p = [set(), set(), {2}, {3}]; x = [1, 2, 3]
i = 103; j = 4; l = 4; s = '101103'
i = int(s[j:j + l])
i = 3; j = 4; l = 4; s = '101103'
a = 4; w = 9
w = a * a
a = 4; w = 16
a = 2; t = 10
t += a
a = 2; t = 12
l = 2; x = [2]
l = len(x)
l = 1; x = [2]
a = [1, 1.0, 0.26]; i = 0; n = [0.92, 0.11, 137.66]
a.append(n[i])
a = [1, 1.0, 0.26, 0.92]; i = 0; n = [0.92, 0.11, 137.66]
c = 'h'; v = 't'
v = c.lower()
c = 'h'; v = 'h'
a = [[0, 1, 1, 0, 1, 1], [0, 1, 1, 0, 1, 1], [0, 0, 1, 1, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0]]; i = 2; j = 5
a[i][j] = 1
a = [[0, 1, 1, 0, 1, 1], [0, 1, 1, 0, 1, 1], [0, 0, 1, 1, 0, 1], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0]]; i = 2; j = 5
i = '('; k = ['{', '[']
k.append(i)
i = '('; k = ['{', '[', '(']
h = ['insert', '0', '5']
a.insert(int(h[1]), int(h[2]))
a = [5]; h = ['insert', '0', '5']
m = 2; x = [3, 3, 3, 4]
m = x[0]
m = 3; x = [3, 3, 3, 4]
c = [('a',), ('b',)]; h = 'b',; o = ['dummy', [('a',), ('b',)], [('a', 'b'), ('b', 'b')], [('a', 'b', 'b'), ('a', 'b', 'b')], [('a', 'a', 'b', 'b')]]
c.append(h)
c = [('a',), ('b',), ('b',)]; h = ('b',); o = ['dummy', [('a',), ('b',)], [('a', 'b'), ('b', 'b')], [('a', 'b', 'b'), ('a', 'b', 'b')], [('a', 'a', 'b', 'b')]]
d = OrderedDict([('BANANA FRIES', 12), ('POTATO CHIPS', 30), ('APPLE JUICE', 20), ('CANDY', 10)]); k = 'CANDY'; s = '5'
d[k] = d[k] + int(s)
d = OrderedDict([('BANANA FRIES', 12), ('POTATO CHIPS', 30), ('APPLE JUICE', 20), ('CANDY', 15)]); k = 'CANDY'; s = '5'
b = 0.875
b /= 2
b = 0.4375
b = '111111111111111'
b = b + '0'
b = '1111111111111110'
l = 1; s = '10'; w = 10
w = int(str(int(s[0:-l]) + 1) + ''.join(['0'] * l))
l = 1; s = '10'; w = 20
g = 1.2000000000000002e-22
g /= 10
g = 1.2000000000000003e-23
a = [4, 3, 5, 1, 2]; i = 4; k = {(4): 1, (3): 2, (5): 3, (1): 4}
k[a[i]] = i + 1
a = [4, 3, 5, 1, 2]; i = 4; k = {4: 1, 3: 2, 5: 3, 1: 4, 2: 5}
k = {(95): 13, (97): 25, (93): 37}; w = ['79', '27']
k[int(w[0])] = int(w[1])
k = {95: 13, 97: 25, 93: 37, 79: 27}; w = ['79', '27']
c = 14; r = {3, 6, 9, 12, 15, 18, 21, 23, 24, 26, 29}
r.add(c)
c = 14; r = {3, 6, 9, 12, 14, 15, 18, 21, 23, 24, 26, 29}
i = 1; s = [[2, 0], 1]; w = [2, 1]; y = 1
s[y] = [i, w.index(i)]
i = 1; s = [[2, 0], [1, 1]]; w = [2, 1]; y = 1
f = '2 3'; x = 'abc'
x = x[:len(x) - int(f.split()[1])]
f = '2 3'; x = ''
i = 0; j = 0; p = 0; r = [['11', '2', '4'], ['4', '5', '6'], ['10', '8', '-12']]
p += int(r[i][j])
i = 0; j = 0; p = 11; r = [['11', '2', '4'], ['4', '5', '6'], ['10', '8', '-12']]
m = 3; n = 1
n -= m
m = 3; n = -2
b = 335544320
b <<= 1
b = 671088640
c = 3; f = 0
c, f = 1, 0
c = 1; f = 0
b = 1; v = '1'
b += int(v)
b = 2; v = '1'
g = ['54', '80', '87']; y = 1416
y += int(g[1])
g = ['54', '80', '87']; y = 1496
i = 2; m = 3; s = [0, 2, 2, 3]
i = s[m]
i = 3; m = 3; s = [0, 2, 2, 3]
a = 10
o = max(o, a)
a = 10; o = 89
a = ''; t = 'dowhatwemustbecausewecan'; v = 0
a = t[:v]
a = ''; t = 'dowhatwemustbecausewecan'; v = 0
p = ['h', 'i', 'j']; w = 1
w = len(p) // 2
p = ['h', 'i', 'j']; w = 1