start
stringlengths
5
368
code
stringlengths
5
143
end
stringlengths
5
527
i = '161'
y += float(i)
i = '161'; y = 226.0
c = 'c', 'd', 'd'; w = {('c',): 2, ('d',): 2, ('c', 'd'): 3, ('c', 'c', 'd'): 1}
w[c] = w.get(c, 0) + 1
c = ('c', 'd', 'd'); w = {('c',): 2, ('d',): 2, ('c', 'd'): 3, ('c', 'c', 'd'): 1, ('c', 'd', 'd'): 1}
a = 11; j = 13; q = 7
q = j ^ a
a = 11; j = 13; q = 6
d = 2; l = 5; m = [0, 1, 2, 2, 3, 3, 0, 0, 0, 0, 0, 0]; p = 4; r = -1; y = [0, 2, 4, 5, 6, 7, -1, -1, 10, -1, -1, -1]; z = [0, 3, -1, -1, -1, 8, 9, -1, 11, -1, -1, -1]
d, l, r = m[p], y[p], z[p]
d = 3; l = 6; m = [0, 1, 2, 2, 3, 3, 0, 0, 0, 0, 0, 0]; p = 4; r = -1; y = [0, 2, 4, 5, 6, 7, -1, -1, 10, -1, -1, -1]; z = [0, 3, -1, -1, -1, 8, 9, -1, 11, -1, -1, -1]
a = 'e'; d = {'c': 4, 'd': 4}
d[a] = 0
a = 'e'; d = {'c': 4, 'd': 4, 'e': 0}
c = 5
n = c
c = 5; n = 5
a = ['--------e--------', '------e-d-e------', '----e-d-c-d-e----', '--e-d-c-b-c-d-e--']; g = 'e-d-c-b-a-b-c-d-e'
a.append(g)
a = ['--------e--------', '------e-d-e------', '----e-d-c-d-e----', '--e-d-c-b-c-d-e--', 'e-d-c-b-a-b-c-d-e']; g = 'e-d-c-b-a-b-c-d-e'
a = [1, 2, 3, 1, 2]; c = 3; f = 3; i = 2
f, i = a[c], c
a = [1, 2, 3, 1, 2]; c = 3; f = 1; i = 3
n = 1.0000000000000002e-07
n /= 10
n = 1.0000000000000002e-08
p = {(1): 0, (2): 1}; t = 3; u = 1
p[t] = p.get(u) + 1
p = {1: 0, 2: 1, 3: 1}; t = 3; u = 1
a = '0101b0'; z = -1
z = a.find('10')
a = '0101b0'; z = 1
f = 2; j = 1, 9; t = 5
j = f, t
f = 2; j = (2, 5); t = 5
i = 3
h[i] = 1
h = {3: 1}; i = 3
j = 1; l = [4, 3, 7, 5, 6, 2]
l[j], l[j - 1] = l[j - 1], l[j]
j = 1; l = [3, 4, 7, 5, 6, 2]
j = """4 1\n3 10 2 9\n12\n\n\n\n"""; p = 14
j = p / 2
j = 7.0; p = 14
p = 12; s = [5, 9]
p = s[1]
p = 9; s = [5, 9]
g = 1.2000000000000003e-26; o = 1.2000000000000004e-27
g = o % 10.0
g = 1.2000000000000004e-27; o = 1.2000000000000004e-27
a = 3; u = [1, 2]
a = u.pop()
a = 2; u = [1]
i = 13; j = [0, 1, 3, 0, 4, 1, 7, 0, 8, 1, 11, 0, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
j[i] = j[i - 1] ^ i
i = 13; j = [0, 1, 3, 0, 4, 1, 7, 0, 8, 1, 11, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
d = ( 894618213078297528685144171539831652069808216779571907213868063227837990693501860533361810841010176000000000000000000 ); k = 80
d *= k
d = 71569457046263802294811533723186532165584657342365752577109445058227039255480148842668944867280814080000000000000000000; k = 80
s = 100; x = -100
s += x
s = 0; x = -100
n = 5; o = [2, 3]
o.append(n)
n = 5; o = [2, 3, 5]
y = 0
u = max(1 - y, 1)
u = 1; y = 0
x = 6
x = str(x)
x = '6'
d = deque([1]); o = ['append', '2']
d.append(int(o[1]))
d = deque([1, 2]); o = ['append', '2']
j = 8; k = 8; s = ['f', 'e', 'd', 'c', 'b', 'a', 'b', 'c', 'd']
s[k] = s[j - 1]
j = 8; k = 8; s = ['f', 'e', 'd', 'c', 'b', 'a', 'b', 'c', 'c']
u = 5
u += 1
u = 6
h = -4; r = [2, 3, 5, 6]; x = 2; y = 3
h = x - r[y - 1]
h = -3; r = [2, 3, 5, 6]; x = 2; y = 3
g = ['1', '2', '4', '8', '16', '32', '134217728', '268435456', '536870912', '1073741824', '2147483648']; p = 4294967296
g.append(str(p))
g = ['1', '2', '4', '8', '16', '32', '134217728', '268435456', '536870912', '1073741824', '2147483648', '4294967296']; p = 4294967296
c = [6, 6, -1]; i = 0; x = 3
c = [(-1) for i in range(x)]
c = [-1, -1, -1]; i = 0; x = 3
b = [['h', 'a', 'v', 'e'], ['a', 'n', 'i', 'c'], ['e', 'd', 'a', 'y']]; c = ['h', 'a', 'e', ' ', 'a', 'n']; i = 1; j = 2
c.append(b[j][i])
b = [['h', 'a', 'v', 'e'], ['a', 'n', 'i', 'c'], ['e', 'd', 'a', 'y']]; c = ['h', 'a', 'e', ' ', 'a', 'n', 'd']; i = 1; j = 2
i = [2]; n = 2
n = len(i)
i = [2]; n = 1
a = -3620601; h = [-7330761, -6461594, -3916237, -3620601, -357920, -520, -470, -20, 30, 266854, 6246457, 7374819]; i = 4
a = h[i]
a = -357920; h = [-7330761, -6461594, -3916237, -3620601, -357920, -520, -470, -20, 30, 266854, 6246457, 7374819]; i = 4
i = 9; v = [True, True, True, True, True, True, True, True, True, True, False, False, False]; w = 1
v[i + w] = True
i = 9; v = [True, True, True, True, True, True, True, True, True, True, True, False, False]; w = 1
a = [4, 2, 3, 5, 1]; i = 3; z = {(4): 0, (2): 1, (3): 2}
z[a[i]] = i
a = [4, 2, 3, 5, 1]; i = 3; z = {4: 0, 2: 1, 3: 2, 5: 3}
d = []
k = d.index(True) if any(d) else None
d = []; k = None
i = 'bb'; k = 0; s = ''
k = s.find(i)
i = 'bb'; k = -1; s = ''
g = 'not'; n = 16; v = ['ab', 'cd', 'ef', 'gh', 'ij', 'ab', 'cd', 'ef', 'gh', 'to', 'be', 'question', 'or', '', '', '', '']
v[n] = g
g = 'not'; n = 16; v = ['ab', 'cd', 'ef', 'gh', 'ij', 'ab', 'cd', 'ef', 'gh', 'to', 'be', 'question', 'or', '', '', '', 'not']
b = [6, 2, 0, 1, 2, 1, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; x = 2, 'not'
b[x[0]] += 1
b = [6, 2, 1, 1, 2, 1, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; x = (2, 'not')
s = 'c'
v[s] = v.get(s, 0) + 1
s = 'c'; v = {'c': 1}
d = '13'
m.append(int(d))
d = '13'; m = [13]
q = array([-10.0, -8.0, 4.0, 3.0, 2.0, 1.0])
r = absolute(q[q != 0])
q = array([-10., -8., 4., 3., 2., 1.]); r = array([10., 8., 4., 3., 2., 1.])
g = ['b', 'a', 'c', 'ba', 'ac', 'bac']; j = 'baac'; k = 3; l = 3; v = ['b', 'a', 'c', 'ba', 'ac', 'bac']
j = g[k] + v[l]
g = ['b', 'a', 'c', 'ba', 'ac', 'bac']; j = 'baba'; k = 3; l = 3; v = ['b', 'a', 'c', 'ba', 'ac', 'bac']
a = [[0, 0, 'ab'], [6, 1, 'cd'], [0, 2, 'ef'], [6, 3, 'gh'], [4, 4, 'ij'], [0, 5, 'ab'], [6, 6, 'cd']]; i = 7; m = 0; s = 'ef'
a.append([m, i, s])
a = [[0, 0, 'ab'], [6, 1, 'cd'], [0, 2, 'ef'], [6, 3, 'gh'], [4, 4, 'ij'], [0, 5, 'ab'], [6, 6, 'cd'], [0, 7, 'ef']]; i = 7; m = 0; s = 'ef'
c = ['400453592126560', '114213133098692', '474386082879648', '075975207693780', '511799789562806', '404007454272504']; r = '549043809916080'
c.append(r)
c = ['400453592126560', '114213133098692', '474386082879648', '075975207693780', '511799789562806', '404007454272504', '549043809916080']; r = '549043809916080'
a = 6; k = 5; x = 0
a = k * (x + 1)
a = 5; k = 5; x = 0
e = [[1, 2, 3], [4], [1, 2], [1, 2, 3], [4, 5, 6]]; j = 7; k = 3
e.append(list(range(j, j + k)))
e = [[1, 2, 3], [4], [1, 2], [1, 2, 3], [4, 5, 6], [7, 8, 9]]; j = 7; k = 3
a = 4; i = 1; j = 3
j = a - i - 1
a = 4; i = 1; j = 2
f = [(0, 'ab'), (6, 'cd'), (0, 'ef'), (6, 'gh'), (4, 'ij'), (6, 'cd'), (0, 'ef'), (6, 'gh'), (0, 'ij')]; r = '4'; u = 'that'
f.append((int(r), u))
f = [(0, 'ab'), (6, 'cd'), (0, 'ef'), (6, 'gh'), (4, 'ij'), (6, 'cd'), (0, 'ef'), (6, 'gh'), (0, 'ij'), (4, 'that')]; r = '4'; u = 'that'
j = [[1, 0.18, 0.89]]; s = 2; u = [1.0, 0.26, 155.72]
j.append([1] + u[0:s])
j = [[1, 0.18, 0.89], [1, 1.0, 0.26]]; s = 2; u = [1.0, 0.26, 155.72]
i = 0; q = [2, 3, 4, 5]
m = q[i + 1] - q[i]
i = 0; m = 1; q = [2, 3, 4, 5]
u = 13178341086095187
u %= 1000000007
u = 993846807
g = 3
g = g + 1
g = 4
m = 9.0; q = 4.0; s = 7.0
q = q * s % m
m = 9.0; q = 1.0; s = 7.0
a = [[4, 8, 2], [4, 5, 7], [6, '1', '6']]; i = 2; j = 1
a[i][j] = int(a[i][j])
a = [[4, 8, 2], [4, 5, 7], [6, 1, '6']]; i = 2; j = 1
j = 0; k = 1; t = 1; z = 0
z, t = j, k - j + 1
j = 0; k = 1; t = 2; z = 0
y = '111'
y += '1'
y = '1111'
w = '0111111111111111111111111111'
w += '1'
w = '01111111111111111111111111111'
x = 95.69447934627533
x = x / 2
x = 47.847239673137665
h = 0
h += 1
h = 1
d = 3
d += 1
d = 4
g = 'Berry'; l = [['Harry', 37.21]]; x = 37.21
l.append([g, x])
g = 'Berry'; l = [['Harry', 37.21], ['Berry', 37.21]]; x = 37.21
i = 4; j = 'RBY_YBR'; m = {'R': [0], 'B': [1], 'Y': [2], '_': [3]}
m[j[i]].append(i)
i = 4; j = 'RBY_YBR'; m = {'R': [0], 'B': [1], 'Y': [2, 4], '_': [3]}
i = 0; w = [[1]]
p = p + w[i][0]
i = 0; p = 74; w = [[1]]
a = {1, 2, 3, 4, 5, 6, 7, 8, 9, 66, 11, 55}; x = {35, 7, 22, 58, 62}
a ^= x
a = {1, 2, 3, 4, 5, 6, 8, 9, 66, 11, 35, 22, 55, 58, 62}; x = {35, 7, 22, 58, 62}
c = [2, 5, 0]; g = 2; j = 1
g = c[j]
c = [2, 5, 0]; g = 5; j = 1
l = [-6461594, -3916237]; n = 295636; y = {(869167): [-7330761, -6461594], (2545357): [-6461594, -3916237]}
l = y.setdefault(n, [])
l = []; n = 295636; y = {869167: [-7330761, -6461594], 2545357: [-6461594, -3916237], 295636: []}
y = '4'
y = int(y)
y = 4
q = 1
c += q
c = -7; q = 1
b = 0; h = [{(1): 1}]; j = 1
h[b][j] = h[b].get(j, 0) + 1
b = 0; h = [{1: 2}]; j = 1
c = 2; d = 2; i = 2
i = d + c - 1
c = 2; d = 2; i = 3
o = '1 1 3 3 6 8 9 9 10 12 13 '; x = 16
o += str(x) + ' '
o = '1 1 3 3 6 8 9 9 10 12 13 16 '; x = 16
i = 2; n = 9; s = '99100010001'
n = int(s[:i])
i = 2; n = 99; s = '99100010001'
f = [0, 1, 2]; s = 3
f.append(f[s - 1] * s)
f = [0, 1, 2, 6]; s = 3
g = [5, 3, 2]; h = 5
p = g[day + 1:].index(h) + day + 1
g = [5, 3, 2]; h = 5; p = -28; y = -29
k = 4 + 17.0j; t = 1
t = str(round(k.imag, 2)).index('.')
k = (4+17j); t = 2
f = [0, 1, 2, 3, 4, 5]
j = f.pop()
f = [0, 1, 2, 3, 4]; j = 5
i = 4; j = 9
j = i ** 2
i = 4; j = 16
j = 126
j += i
i = 1; j = 127
a = 1; b = 3; e = ['a', 'aa', 'aab', 'a']; g = ['a', 'abaa', 'a', 'abaa', 'aab']; j = 4
e.append(g[j][a:b])
a = 1; b = 3; e = ['a', 'aa', 'aab', 'a', 'ab']; g = ['a', 'abaa', 'a', 'abaa', 'aab']; j = 4
m = 4; w = 2
m += w
m = 6; w = 2
i = 1; j = 2; l = [[0, 0, 0, 0], [0, 0, 1, 0], [0, 0, 1, 0], [1, 0, 0, 0]]
l[i][j] = 0
i = 1; j = 2; l = [[0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 1, 0], [1, 0, 0, 0]]
a = 'cdefghmnopqrstuvw'; b = ['c', 'd', 'e', 'f', 'g', 'h', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w']; i = 4; n = [1, 1, 1, 1]
n.append(a.count(b[i]))
a = 'cdefghmnopqrstuvw'; b = ['c', 'd', 'e', 'f', 'g', 'h', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w']; i = 4; n = [1, 1, 1, 1, 1]
x = ['b', 'a']
x.sort()
x = ['a', 'b']
j = 1.5
t = j
j = 1.5; t = 1.5
a = 10; b = 1010; f = 41953758616961407238526410340098375800; i = 115
f = f + (a ^ b << i)
a = 10; b = 1010; f = 83907517233922814477052820680196751490; i = 115
i = '1'
g += int(i)
g = -62; i = '1'
p = 4; z = 0
z = p - 1
p = 4; z = 3
a = ['like', 'to', 'play']; c = ['i', 'love', 'to', 'dance', 'i', 'like', 'to', 'dance', 'i', 'like', 'to', 'play', 'chess']; j = 12
a = c[j:j + 3]
a = ['chess']; c = ['i', 'love', 'to', 'dance', 'i', 'like', 'to', 'dance', 'i', 'like', 'to', 'play', 'chess']; j = 12
i = 2; o = 'aeiouuoiea'; x = 'ae'
x += o[i]
i = 2; o = 'aeiouuoiea'; x = 'aei'
j = 1; s = ['d', 'k', 'h', 'c']
j = len(s) - 1
j = 3; s = ['d', 'k', 'h', 'c']
i = 0; j = 0; t = [[0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0]]
t[i][j] = 1
i = 0; j = 0; t = [[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, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0]]
h = '01234'; v = 5
h += str(v)
h = '012345'; v = 5
a = 2; r = 0; t = [1, 3, 3]
t[r + 1] = a
a = 2; r = 0; t = [1, 2, 3]
e = 'abcdefg'; k = OrderedDict([('bcdef', 1)])
k[e] = 1
e = 'abcdefg'; k = OrderedDict([('bcdef', 1), ('abcdefg', 1)])
a = ' 1 2'
j = a.split()
a = ' 1 2'; j = ['1', '2']
r = '910111213'; x = 14
r = r + str(x)
r = '91011121314'; x = 14
u = [4, 5, 2, 3, -4, -3, -5]
u.sort()
u = [-5, -4, -3, 2, 3, 4, 5]
x = [3, 2, 2, 0, 0, 6]
x.remove(0)
x = [3, 2, 2, 0, 6]
a = '9875'; i = 3; k = 4; s = 96
s += int(a[i]) * k
a = '9875'; i = 3; k = 4; s = 116