start
stringlengths
5
368
code
stringlengths
5
143
end
stringlengths
5
527
b = '3'; o = ['1', '91']
o = b.split(' ')
b = '3'; o = ['3']
m = 7
m += 1
m = 8
e = [5, 1]; n = 1
n = e[0]
e = [5, 1]; n = 5
i = [(0, True, None, 2), (1, False, None, 2), (2, True, None, 2), (3, False, None, 2)]; p = 4, True, 0, 4
p = i.pop()
i = [(0, True, None, 2), (1, False, None, 2), (2, True, None, 2)]; p = (3, False, None, 2)
b = '('; x = ['{', '[']
x.append(b)
b = '('; x = ['{', '[', '(']
d = ['.......', '...O...', '....O..', '.......', 'OO.....', 'OO.....']
i = list(d[0].replace('.', 'O'))
d = ['.......', '...O...', '....O..', '.......', 'OO.....', 'OO.....']; i = ['O', 'O', 'O', 'O', 'O', 'O', 'O']
p = 1.2000000000000005e-30
p /= 10
p = 1.2000000000000005e-31
i = 1; j = 2; k = 0; v = [[0, 0, 0], [0, 0, 1], [0, 1, 0], [0, 1, 2], [0, 2, 1], [1, 0, 0], [1, 0, 2], [1, 1, 1], [1, 1, 2]]
v.append([i, j, k])
i = 1; j = 2; k = 0; v = [[0, 0, 0], [0, 0, 1], [0, 1, 0], [0, 1, 2], [0, 2, 1], [1, 0, 0], [1, 0, 2], [1, 1, 1], [1, 1, 2], [1, 2, 0]]
m = [0, 1]; w = '0 -1'
m = w.split()
m = ['0', '-1']; w = '0 -1'
i = 0; s = {'c': 4, 'd': 4, 'e': 4, 'f': 1}; w = ['c', 'd', 'c', 'd', 'c', 'd', 'c', 'd', 'e', 'e', 'e', 'e', 'f']
a.append(s[w[i]])
a = [4]; i = 0; s = {'c': 4, 'd': 4, 'e': 4, 'f': 1}; w = ['c', 'd', 'c', 'd', 'c', 'd', 'c', 'd', 'e', 'e', 'e', 'e', 'f']
f = [0, 0, 0, 0, 0, 0]; g = [0, 0, 0, 0, 0, 0]; j = 2
g[j] = f[j - 1] + 1
f = [0, 0, 0, 0, 0, 0]; g = [0, 0, 1, 0, 0, 0]; j = 2
l = [95, 92, 95]; y = [72, 67]
y.append(l[1])
l = [95, 92, 95]; y = [72, 67, 92]
h = [[1, 0], [0, 0]]; i = 0; j = 1; k = 1; p = [[0, 1], [1, 1]]; x = [[0, 1], [1, 1]]
h[i][j] += x[i][k] * p[k][j]
h = [[1, 1], [0, 0]]; i = 0; j = 1; k = 1; p = [[0, 1], [1, 1]]; x = [[0, 1], [1, 1]]
s = ['1', '1']
n = int(s[0])
n = 1; s = ['1', '1']
g = '10'; n = 99
g = str(n + 1)
g = '100'; n = 99
b = [[0, 0, 0, 0], [0, 0, None, None], [None, None, None, None], [None, None, None, None], [None, None, None, None], [None, None, None, None]]; i = 1; j = 2
b[i][j] = max(b[i - 1][j], b[i][j - 1])
b = [[0, 0, 0, 0], [0, 0, 0, None], [None, None, None, None], [None, None, None, None], [None, None, None, None], [None, None, None, None]]; i = 1; j = 2
w = '0b11110111010111'
q = w[2:]
q = '11110111010111'; w = '0b11110111010111'
i = ['0', '-']; j = [['-', '-'], [], [], [], ['-'], [], ['-', '-'], [], [], [], [], [], [], [], [], [], [], [], []]
j[int(i[0])] += [i[1]]
i = ['0', '-']; j = [['-', '-', '-'], [], [], [], ['-'], [], ['-', '-'], [], [], [], [], [], [], [], [], [], [], [], []]
g = [2, 2, 3, 6]
g = [(l - g[0]) for l in g if l - g[0] > 0]
g = []
c = [0, 0, 0, 0, 1, 0, 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]; i = 2; j = 7
c[i * j] = 1
c = [0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; i = 2; j = 7
a = 97; m = [1, 1, 1, 1, 1, 1, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; p = 'g'
m[ord(p) - a] += 1
a = 97; m = [1, 1, 1, 1, 1, 1, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; p = 'g'
p = [7]
w = len(p)
p = [7]; w = 1
a = [[2, 1], [1, 1]]; n = [[1, 1], [1, 0]]; u = 1
u = n[1][0] * a[0][0] + n[1][1] * a[1][0]
a = [[2, 1], [1, 1]]; n = [[1, 1], [1, 0]]; u = 2
a = 0; d = [0, 0]; f = 3; i = [[1, 1, 1, 0, 0, 0], [0, 1, 0, 0, 0, 0], [1, 1, 1, 0, 0, 0], [0, 0, 2, 4, 4, 0], [0, 0, 0, 2, 0, 0], [0, 0, 1, 2, 4, 0]]; u = 3
d = i[u + 2][a:f]
a = 0; d = [0, 0, 1]; f = 3; i = [[1, 1, 1, 0, 0, 0], [0, 1, 0, 0, 0, 0], [1, 1, 1, 0, 0, 0], [0, 0, 2, 4, 4, 0], [0, 0, 0, 2, 0, 0], [0, 0, 1, 2, 4, 0]]; u = 3
i = 108; n = [2, 2, 2, 2, 2, 1, 1, 1, 1, 0, 0]; s = 'aabbccddeefghi'
n.append(s.count(chr(i)))
i = 108; n = [2, 2, 2, 2, 2, 1, 1, 1, 1, 0, 0, 0]; s = 'aabbccddeefghi'
g = ' ####'
g = g + ' '
g = ' #### '
r = [2, 2]; x = [[1, 1]]
x.append(r)
r = [2, 2]; x = [[1, 1], [2, 2]]
v = 20
v = v + 1
v = 21
h = 10; y = {(5): 1, (7): 1, (11): 1}
y[h] = y.get(h, 0) + 1
h = 10; y = {5: 1, 7: 1, 11: 1, 10: 1}
b = 23
s = '{0:b}'.format(b)
b = 23; s = '10111'
j = 9; l = 2; s = '99910001001'
j = int(s[lhs_start:lhs_start + l])
j = 99; l = 2; r = False; s = '99910001001'
a = [1, 7, 1]; j = 24
a.append(j)
a = [1, 7, 1, 24]; j = 24
l = '4 5'
v = int(l.split()[1])
l = '4 5'; v = 5
s = 353.5801469573677; x = 62
s += 0.5 * (1 + (1 + 4 * x) ** 0.5)
s = 361.97001387639745; x = 62
a = [(1, 2), (1, 4), (3, 0), (3, 3), (6, 1)]; c = 2; i = 4
c = a[i][0] - a[i - 1][0]
a = [(1, 2), (1, 4), (3, 0), (3, 3), (6, 1)]; c = 3; i = 4
r = ['4']; t = 3
t = int(r[0])
r = ['4']; t = 4
e = [['*', '.', 'M'], ['.', 'X', '.']]; h = 2; l = 3; r = 1
q = [h, l, e, r]
e = [['*', '.', 'M'], ['.', 'X', '.']]; h = 2; l = 3; q = [2, 3, [['*', '.', 'M'], ['.', 'X', '.']], 1]; r = 1
t = 5
t += 1
t = 6
o = -100; y = 200
y += o
o = -100; y = 100
j = 'In the third category he included those Brothers (the majority)'; t = ' '
j += t
j = 'In the third category he included those Brothers (the majority) '; t = ' '
n = 2
l = [0] * (n + 1)
l = [0, 0, 0]; n = 2
r = 'bb'
x = list(r)
r = 'bb'; x = ['b', 'b']
m = 2; r = 4; z = [2, 2, 2]
r *= z[m]
m = 2; r = 8; z = [2, 2, 2]
s = 140; x = 60
s += x
s = 200; x = 60
j = 'SOSSOT'
l = int(len(j) / 3)
j = 'SOSSOT'; l = 2
i = 1; x = 12; y = 1.0
y = x / i
i = 1; x = 12; y = 12.0
i = 5; q = 72.3; t = 635.5500000000002; x = [73, 48, 95, 95, 33, 47, 98, 91, 95, 93, 70, 85, 33, 47, 95, 84, 43, 95, 54, 72]
t += x[i] ** 2 - q ** 2
i = 5; q = 72.3; t = -2382.74; x = [73, 48, 95, 95, 33, 47, 98, 91, 95, 93, 70, 85, 33, 47, 95, 84, 43, 95, 54, 72]
q = '0b1011'; x = 11
x = q[2:]
q = '0b1011'; x = '1011'
i = 3; j = 0; q = deque([(3, 2), (5, 3), (1, 1)])
i, j = q.popleft()
i = 3; j = 2; q = deque([(5, 3), (1, 1)])
c = 'b'; d = {'a': 2, 'b': 1}
d[c] += 1
c = 'b'; d = {'a': 2, 'b': 2}
b = 'POTATO CHIPS 30'; q = ['CANDY', '5']
q = b.rsplit(' ', maxsplit=1)
b = 'POTATO CHIPS 30'; q = ['POTATO CHIPS', '30']
i = 4; j = 1; k = [[0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 1, 1, 1, 1], [0, 0, 1, 1, 1, 1], [0, None, None, None, None, None], [0, None, None, None, None, None]]
k[i][j] = max(k[i][j - 1], k[i - 1][j])
i = 4; j = 1; k = [[0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 1, 1, 1, 1], [0, 0, 1, 1, 1, 1], [0, 0, None, None, None, None], [0, None, None, None, None, None]]
d = [2, 1]; m = [3, 1, 2]; u = 1
m = d[u:]
d = [2, 1]; m = [1]; u = 1
c = ['63', '25', '73', '1', '98', '73', '56', '84', '86', '79', '75', '75', '13', '87', '70', '33', '']; r = 0; x = 3
r = c.count(str(x))
c = ['63', '25', '73', '1', '98', '73', '56', '84', '86', '79', '75', '75', '13', '87', '70', '33', '']; r = 0; x = 3
x = 12
x >>= 1
x = 6
a = [2, 3, 4, 5]; i = 1
d = abs(a[i + 1] - a[i])
a = [2, 3, 4, 5]; d = 1; i = 1
h = 9; j = 4; k = 3; o = [[1, 1, 1, 0, 0, 0], [0, 1, 0, 0, 0, 0], [1, 1, 1, 0, 0, 0], [0, 0, 2, 4, 4, 0], [0, 0, 0, 2, 0, 0], [0, 0, 1, 2, 4, 0]]
h = sum(o[j - 1][k - 1:k + 2]) + o[j][k] + sum(o[j + 1][k - 1:k + 2])
h = 19; j = 4; k = 3; o = [[1, 1, 1, 0, 0, 0], [0, 1, 0, 0, 0, 0], [1, 1, 1, 0, 0, 0], [0, 0, 2, 4, 4, 0], [0, 0, 0, 2, 0, 0], [0, 0, 1, 2, 4, 0]]
a = ['a']; c = [['a', 3]]; i = 0
c.append([a[i], 1])
a = ['a']; c = [['a', 3], ['a', 1]]; i = 0
c = 'r'; w = [0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0]
w[ord(c) - ord('a')] += 1
c = 'r'; w = [0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0]
b = 120; n = 4
b *= n
b = 480; n = 4
a = {'l', 'p', 'm', 'w', 't', 'r', 'e', 'o'}; i = 'y'
a.add(i)
a = {'t', 'l', 'r', 'y', 'm', 'e', 'o', 'p', 'w'}; i = 'y'
b = 2; l = [0, 1]
l.append(b)
b = 2; l = [0, 1, 2]
m = ['1', '9', '1', '2']; p = [['1', '1', '1', '2']]
p.append(m)
m = ['1', '9', '1', '2']; p = [['1', '1', '1', '2'], ['1', '9', '1', '2']]
s = [0, 1, 5]
n = s[2]
n = 5; s = [0, 1, 5]
d = [1, 3, 1]; j = 0; s = [2, 1, 2]
d[j] += s[j]
d = [3, 3, 1]; j = 0; s = [2, 1, 2]
a = [[112, 42, 83, 119], [56, 125, 56, 49], [15, 78, 101, 43], [62, 98, 114, 108]]; i = 0; j = 0; n = 2
y = y + max(a[i][j], a[i][2 * n - j - 1], a[2 * n - i - 1][j], a[2 * n - i - 1][2 * n - j - 1])
a = [[112, 42, 83, 119], [56, 125, 56, 49], [15, 78, 101, 43], [62, 98, 114, 108]]; i = 0; j = 0; n = 2; y = 177
w = 24; z = 10
e = int((w - z) / 2)
e = 7; w = 24; z = 10
i = 5; m = 16; q = 'BANANA\n\n\n\n'
m = m + (len(q) - i)
i = 5; m = 21; q = 'BANANA\n\n\n\n'
p = 1.2000000000000008e-54
p /= 10
p = 1.2000000000000009e-55
b = 0; h = 1; q = 3; u = [[[-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], [-1, -1], [0, 2], [0, 1], [0, 0]]]; z = 1
b = u[q][h + 1][z] + 1
b = 3; h = 1; q = 3; u = [[[-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], [-1, -1], [0, 2], [0, 1], [0, 0]]]; z = 1
f = ['Sun', '10', 'May', '2015', '13:54:36', '-0000']; j = 1
h += f[j]
f = ['Sun', '10', 'May', '2015', '13:54:36', '-0000']; h = 'rn04910'; j = 1
c = [6, 2, 2, 1, 4, 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]; i = 13; p = [0, 6, 8, 10, 11, 15, 16, 20, 20, 20, 20, 20, 20]
p.append(p[i - 1] + c[i - 1])
c = [6, 2, 2, 1, 4, 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]; i = 13; p = [0, 6, 8, 10, 11, 15, 16, 20, 20, 20, 20, 20, 20, 20]
i = 2; n = 228
n += i
i = 2; n = 230
n = 1; o = 3
n = o
n = 3; o = 3
o = 4
o += 1
o = 5
h = [6]; i = 1; x = [6, 5, 4]
h.append(x[i])
h = [6, 5]; i = 1; x = [6, 5, 4]
e = 1
v = bin(e - 1)[2:][::-1]
e = 1; v = '0'
i = 7; l = ['h', 'A', 'C', 'K', 'E', 'R', 'r', 'a', 'n', 'k', 'o', 'n', 'i', 's', 't', ' ', '2', '"', '.']
l[i] = l[i].upper()
i = 7; l = ['h', 'A', 'C', 'K', 'E', 'R', 'r', 'A', 'n', 'k', 'o', 'n', 'i', 's', 't', ' ', '2', '"', '.']
b = 2; e = [True, True, False]
e[b] = True
b = 2; e = [True, True, True]
n = 6
l = [None] * n
l = [None, None, None, None, None, None]; n = 6
i = 3; w = 2
w = i
i = 3; w = 3
t = {'a': 1, 'b': 1, 'c': 1, 'd': 1, 'e': 1, 'f': 1}; x = 'g'
t[x] = 1
t = {'a': 1, 'b': 1, 'c': 1, 'd': 1, 'e': 1, 'f': 1, 'g': 1}; x = 'g'
k = 'haveaniceday'; m = 1; n = 3; x = 'hae and via e'; z = 4
x += k[n + m * z]
k = 'haveaniceday'; m = 1; n = 3; x = 'hae and via ec'; z = 4
c = ['b', 'c', 'd']; i = 2; j = 0; q = 'abcd'
c = q[i:i + j + 1]
c = 'c'; i = 2; j = 0; q = 'abcd'
c = 1000000007; q = 1000000007; x = 1
c, x = x, c - q * x
c = 1; q = 1000000007; x = 0
s = 'aba'
l = len(s)
l = 3; s = 'aba'
l = 10; s = ['a', 'a', 'a', 'b', 'c', 'c', 'd', 'd', 'd']
l = len(s)
l = 9; s = ['a', 'a', 'a', 'b', 'c', 'c', 'd', 'd', 'd']
b = 1; k = 14; m = 1000000007
b = (b + k) % m
b = 15; k = 14; m = 1000000007
b = 2; k = 100; y = [100, 0, 0, 0, 0, 0]
y[b] -= k
b = 2; k = 100; y = [100, 0, -100, 0, 0, 0]
c = 3; l = [9, 7, 5, 3, 1]; r = [[9, 6], [7], [5]]; x = 4; y = 1
c = (len(r[y]) + 1) * l[x]
c = 2; l = [9, 7, 5, 3, 1]; r = [[9, 6], [7], [5]]; x = 4; y = 1
d = 'ij'; x = ['0', 'ab']
d = x[1]
d = 'ab'; x = ['0', 'ab']
d = {(203): 2, (204): 2, (205): 1, (206): 1, (207): 1, (208): 1}; i = 205
d[i] += 1
d = {203: 2, 204: 2, 205: 2, 206: 1, 207: 1, 208: 1}; i = 205
k = 1; n = 2; o = 7; x = 1
k = (x ^ o) % n
k = 0; n = 2; o = 7; x = 1
k = 'b'; m = ['b', 'b', 'f', 'b']
m.append(k)
k = 'b'; m = ['b', 'b', 'f', 'b', 'b']
i = 0; j = 2; v = ['a', 'f']; x = [['a', 'b', 'c', 'd', 'e'], ['f', 'g', 'h', 'i', 'j'], ['k', 'l', 'm', 'n', 'o'], ['p', 'q', 'r', 's', 't'], ['u', 'v', 'w', 'x', 'y']]
v.append(x[j][i])
i = 0; j = 2; v = ['a', 'f', 'k']; x = [['a', 'b', 'c', 'd', 'e'], ['f', 'g', 'h', 'i', 'j'], ['k', 'l', 'm', 'n', 'o'], ['p', 'q', 'r', 's', 't'], ['u', 'v', 'w', 'x', 'y']]
a = [3, 1, 2, 4, 0]; i = 1; j = [None, None, None, 0, None]
j[a[i]] = i
a = [3, 1, 2, 4, 0]; i = 1; j = [None, 1, None, 0, None]
b = 2
x += b
b = 2; x = 8
i = 3; j = 2; o = [[0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 1, 1, 1, 1], [0, 0, 1, 1, 1, 1], [0, 0, 1, 0, 0, 0], [0, 0, 0, 0, 0, 0]]
o[i + 1][j + 1] = max(o[i + 1][j], o[i][j + 1])
i = 3; j = 2; o = [[0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 1, 1, 1, 1], [0, 0, 1, 1, 1, 1], [0, 0, 1, 1, 0, 0], [0, 0, 0, 0, 0, 0]]
a = [3, 1]; i = 1; j = 2; r = 8; x = [5, 2, 8]
r = a[i] + x[j]
a = [3, 1]; i = 1; j = 2; r = 9; x = [5, 2, 8]
c = 'This$#is'; x = 1; y = 'h%x'
c += y[x]
c = 'This$#is%'; x = 1; y = 'h%x'