start
stringlengths
5
368
code
stringlengths
5
143
end
stringlengths
5
527
i = 3; q = [[2, 2, 3], [1, 1, 4], [0, 0, 5]]; t = [[[0, 2, 0]], [[2, 2, 0], [0, 1, 1]], [[2, 2, 1], [1, 1, 2], [0, 0, 3]], [], [], [], []]
t[i] = q
i = 3; q = [[2, 2, 3], [1, 1, 4], [0, 0, 5]]; t = [[[0, 2, 0]], [[2, 2, 0], [0, 1, 1]], [[2, 2, 1], [1, 1, 2], [0, 0, 3]], [[2, 2, 3], [1, 1, 4], [0, 0, 5]], [], [], []]
b = 'R'; v = 1
v = ord(b) - ord('A')
b = 'R'; v = 17
n = 0.01; t = 1.1
t += n % 10
n = 0.01; t = 1.11
d = 2; n = 0; o = [0, 24, inf, inf]; t = [[inf, 24, 3, 20], [24, inf, inf, inf], [3, inf, inf, 12], [20, inf, 12, inf]]
o[d] = o[n] + t[n][d]
d = 2; n = 0; o = [0, 24, 3, inf]; t = [[inf, 24, 3, 20], [24, inf, inf, inf], [3, inf, inf, 12], [20, inf, 12, inf]]
h = ['.....', '.x.x.', '.....', '.....']; i = 0; j = 3; n = [0, 1, 2]
n.append(-1 if h[i][j] == 'x' else n[j - 1] + 1)
h = ['.....', '.x.x.', '.....', '.....']; i = 0; j = 3; n = [0, 1, 2, 3]
d = ['c', 'cd']; g = 'cdcd'; j = 0; k = 3
d.append(g[j:k])
d = ['c', 'cd', 'cdc']; g = 'cdcd'; j = 0; k = 3
a = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z']; i = 1; k = 10; y = ['o', 'i', 'd', 'd', 'l', 'e', '-', 'O', 'u', 't', 'z']
y[i] = a[k]
a = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z']; i = 1; k = 10; y = ['o', 'r', 'd', 'd', 'l', 'e', '-', 'O', 'u', 't', 'z']
f = 140; v = 60
f += v
f = 200; v = 60
x = 50; z = {(10): 3, (20): 2, (30): 1, (50): 0}
z[x] += 1
x = 50; z = {10: 3, 20: 2, 30: 1, 50: 1}
n = 10; p = 3
a = n // p
a = 3; n = 10; p = 3
c = [0, 0, 0, 0, 1, 1, 1, 3, 2, 1]; i = 3; s = [2, 4, 2, 6, 1, 7, 8, 9, 2, 1]
c[i] = c[i + 1] + 1 if s[i] > s[i + 1] else 1
c = [0, 0, 0, 2, 1, 1, 1, 3, 2, 1]; i = 3; s = [2, 4, 2, 6, 1, 7, 8, 9, 2, 1]
e = 1; i = 2; m = 1; s = [0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
m = s[i - e] + e
e = 1; i = 2; m = 2; s = [0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
s = 29; u = 19
s = u
s = 19; u = 19
m = 3; t = 10
t -= m
m = 3; t = 7
i = 3; t = 2
t = i * t
i = 3; t = 6
g = {(3): [1, -1, -1, 1, 0, -1], (2): [2, -1, -1, -1, -1, -1], (1): [4, -1, -1, -1, -1, -1]}; i = 2; l = [4, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
l = g.get(i)
g = {3: [1, -1, -1, 1, 0, -1], 2: [2, -1, -1, -1, -1, -1], 1: [4, -1, -1, -1, -1, -1]}; i = 2; l = [2, -1, -1, -1, -1, -1]
k = 1; l = 0; s = [[1, 1, 1], [2, 2, 2], [1, 1, 3]]; z = [1]
z.append(s[k][l])
k = 1; l = 0; s = [[1, 1, 1], [2, 2, 2], [1, 1, 3]]; z = [1, 2]
i = 3; s = '{[(])}'; x = '('
x = s[i]
i = 3; s = '{[(])}'; x = ']'
l = '\\n'
z = ESCAPES.get(l)
i = {}; l = '\\n'; z = None
a = 12
j.append(a)
a = 12; j = [12]
n = '8 1'
n = n.split()
n = ['8', '1']
c = [1, 2, 3, 4]
t = [item for item in c if item > 0]
c = [1, 2, 3, 4]; t = [1, 2, 3, 4]
i = 'l'; t = 17
t = ord(i) - 97
i = 'l'; t = 11
r = ['{', '{', '[', '[', '(']
r.pop()
r = ['{', '{', '[', '[']
i = 1; s = '101103'; v = 2
v = 10 * v + int(s[i])
i = 1; s = '101103'; v = 20
s = 3
d.append(s)
d = [3]; s = 3
a = 8; b = 3
b = int(a / 2)
a = 8; b = 4
g = [0]; i = 1
g.append(i)
g = [0, 1]; i = 1
b = '0b1010'; n = 11
b = bin(n)
b = '0b1011'; n = 11
u = [42]
u.pop()
u = []
z = '1 2 3 \n'
z = z.split(' ')
z = ['1', '2', '3', '\n']
q = 2; x = 4
q += x
q = 6; x = 4
h = [0]; j = 0
h.append(j)
h = [0, 0]; j = 0
a = {'a': 2, 'b': 2, 'c': 1, 'd': 1, 'e': 0, 'f': 0, 'g': 0, 'h': 0, 'i': 0}; i = 106; x = 'aabbcd'
a[chr(i)] = x.count(chr(i))
a = {'a': 2, 'b': 2, 'c': 1, 'd': 1, 'e': 0, 'f': 0, 'g': 0, 'h': 0, 'i': 0, 'j': 0}; i = 106; x = 'aabbcd'
c = 2; k = [(2, 0), (2, 2), (1, 1), (3, 1)]; r = 2
k = [(r, c - 1), (r, c + 1), (r - 1, c), (r + 1, c)]
c = 2; k = [(2, 1), (2, 3), (1, 2), (3, 2)]; r = 2
d = 140410254513808; m = []; q = {(140410254513328): []}; y = []
y = q.get(d, m)
d = 140410254513808; m = []; q = {140410254513328: []}; y = []
j = 3; k = 6
k, j = k + 1, j - 1
j = 2; k = 7
s = 'beabeefeab'
l = list(s)
l = ['b', 'e', 'a', 'b', 'e', 'e', 'f', 'e', 'a', 'b']; s = 'beabeefeab'
o = 0; s = 7
j[s] = o
j = {7: 0}; o = 0; s = 7
d = [10, 20, 30, 100, 200, 300, 1000]; h = 170; i = 3; u = 3
h = d[i + (u - 1)] - d[i]
d = [10, 20, 30, 100, 200, 300, 1000]; h = 200; i = 3; u = 3
g = ['f']; i = 'g'
g.append(i)
g = ['f', 'g']; i = 'g'
m = [3, 3]
g = min(m)
g = 3; m = [3, 3]
j = ['9505']; z = '3845'
j.append(z)
j = ['9505', '3845']; z = '3845'
m = ['3', '3', '3']
n = int(m[0])
m = ['3', '3', '3']; n = 3
i = '0'; z = '111111111111111000011'
z += str(int(i) ^ 1)
i = '0'; z = '1111111111111110000111'
n = 10; w = 'APPLE JUICE'; y = OrderedDict([('BANANA FRIES', 12), ('POTATO CHIPS', 30)])
y[w] = n
n = 10; w = 'APPLE JUICE'; y = OrderedDict([('BANANA FRIES', 12), ('POTATO CHIPS', 30), ('APPLE JUICE', 10)])
f = [3, 2, 1]
f.pop(0)
f = [2, 1]
h = [1, 1, 2]; i = 7; l = 2; p = 3; q = 1; x = [1, 1, 2]
i = i * h[l] * x[q] * x[l - q] % p
h = [1, 1, 2]; i = 2; l = 2; p = 3; q = 1; x = [1, 1, 2]
d = ['c', 'cd', 'cdc', 'cdcd', 'd', 'dc', 'dcd']; i = 2; j = 3; v = 'cdcd'
d.append(v[i:j])
d = ['c', 'cd', 'cdc', 'cdcd', 'd', 'dc', 'dcd', 'c']; i = 2; j = 3; v = 'cdcd'
p = ['n']; r = 'b'
p.append(r)
p = ['n', 'b']; r = 'b'
f = 4; i = 4
i = i + f
f = 4; i = 8
c = 3; r = 6
r, c = r - 1, c - 1
c = 2; r = 5
f = [5]; i = 3; l = [4, 5, 3, 7, 2]
f.append(l[i])
f = [5, 7]; i = 3; l = [4, 5, 3, 7, 2]
u = {'ive': 1, 'got': 1, 'a': 1, 'lovely': 1, 'bunch': 1}; w = 'of'
u[w] = u[w] + 1 if w in u else 1
u = {'ive': 1, 'got': 1, 'a': 1, 'lovely': 1, 'bunch': 1, 'of': 1}; w = 'of'
i = 1; j = 0; q = 4; z = [[1, 3, 4], [2, 2, 3], [1, 2, 4]]
q = z[i][j]
i = 1; j = 0; q = 2; z = [[1, 3, 4], [2, 2, 3], [1, 2, 4]]
b = [29, 30, 31, 32, 33, 34]; d = 32
b.remove(d - 1)
b = [29, 30, 32, 33, 34]; d = 32
a = ' '
a += '#'
a = ' #'
d = '1'; t = [0]
t.append(int(d))
d = '1'; t = [0, 1]
i = 0; j = 4; x = {(0, 0): 0, (0, 1): 0, (0, 2): 0, (0, 3): 0}
x[i, j] = mn
i = 0; j = 4; l = -14; x = {(0, 0): 0, (0, 1): 0, (0, 2): 0, (0, 3): 0, (0, 4): -14}
l = [6]; x = 7
x = l.pop()
l = []; x = 6
d = 6; i = 6; j = 1
d = i + j
d = 7; i = 6; j = 1
r = '3'; s = {'1': 4, '2': 4, '3': 3, '6': 3, '5': 4, '4': 4}
s[r] = s[r] + 1
r = '3'; s = {'1': 4, '2': 4, '3': 4, '6': 3, '5': 4, '4': 4}
g = 357400; i = 5; z = [-7330761, -6461594, -3916237, -3620601, -357920, -520, -470, -20, 30, 266854, 6246457, 7374819]
g = abs(z[i] - z[i + 1])
g = 50; i = 5; z = [-7330761, -6461594, -3916237, -3620601, -357920, -520, -470, -20, 30, 266854, 6246457, 7374819]
b = [1, 1, 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]; c = 2; i = 3; j = [0, 0, 1, 1, 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]
c += abs(j[i] - b[i])
b = [1, 1, 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]; c = 3; i = 3; j = [0, 0, 1, 1, 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]
i = 6; w = 6
w = i + 1
i = 6; w = 7
d = 139639354544240; x = '.'
d = id(x)
d = 139760778987440; x = '.'
a = 3; w = 2.0
w += a / 2
a = 3; w = 3.5
i = 'c'; m = {'a': 1, 'b': 1}
m[i] = m.get(i, 0) + 1
i = 'c'; m = {'a': 1, 'b': 1, 'c': 1}
a = 3; b = 1; d = 7; i = 3; j = 1; s = 4; y = [[0, 0, 0, 0, 0], [0, 0, 2, 0, 5], [0, 2, 0, 0, 7], [0, 0, 0, 0, 1], [0, 5, 7, 1, 0]]
d = y[i][a] + s + y[b][j]
a = 3; b = 1; d = 4; i = 3; j = 1; s = 4; y = [[0, 0, 0, 0, 0], [0, 0, 2, 0, 5], [0, 2, 0, 0, 7], [0, 0, 0, 0, 1], [0, 5, 7, 1, 0]]
d = '010'; s = '2'
s = int(d)
d = '010'; s = 10
i = 5; m = ['1', '2', '3', '4', '10', '11']; y = '10'
y = m[i]
i = 5; m = ['1', '2', '3', '4', '10', '11']; y = '11'
j = -1; s = [[2]]
j = len(s) - 1
j = 0; s = [[2]]
a = 'ccdd'; i = 1; j = 1; s = 'cdcd'
a = ''.join(sorted(s[i:i + j]))
a = 'd'; i = 1; j = 1; s = 'cdcd'
k = 1.0000000000000003e-51
k = k / 10
k = 1.0000000000000004e-52
i = 5; j = 0; q = 'CK'; u = [['A', 'A'], ['A', 'C'], ['A', 'K'], ['C', 'C'], ['C', 'H'], ['H', 'H'], ['H', 'K'], ['K', 'K']]
q += ''.join(u[i][j])
i = 5; j = 0; q = 'CKH'; u = [['A', 'A'], ['A', 'C'], ['A', 'K'], ['C', 'C'], ['C', 'H'], ['H', 'H'], ['H', 'K'], ['K', 'K']]
h = 2; o = 1; v = [1, 1, 3]
v[o] = h
h = 2; o = 1; v = [1, 2, 3]
a = 7; i = 5; n = [1, 2, 1, 2, 1, 2, 1, 2]
a += n[i]
a = 9; i = 5; n = [1, 2, 1, 2, 1, 2, 1, 2]
b = []; r = 'a'
b.append(r)
b = ['a']; r = 'a'
g = [37.21, 37.21, 37.2, 41.0, 39.0]; o = {41.0, 37.2, 37.21, 39.0}
g = list(o)
g = [41.0, 37.21, 37.2, 39.0]; o = {41.0, 37.21, 37.2, 39.0}
a = 34; b = 55
a, b = b, a + b
a = 55; b = 89
a = 2; b = 377789318629571617095680; x = 377789318629571617095816
x += a ^ b
a = 2; b = 377789318629571617095680; x = 755578637259143234191498
j = -594
j = j * 2
j = -1188
a = [5, 1, 2, 3]
x.append(a[1:])
a = [5, 1, 2, 3]; x = [[1, 2, 3]]
e = ['a', 'b', 'a']; j = 5; k = 'ababaa'
e.append(k[j])
e = ['a', 'b', 'a', 'a']; j = 5; k = 'ababaa'
l = {1, 3}; x = 2
l.add(x)
l = {1, 2, 3}; x = 2
g = '0'; h = [(0, 'ab'), (6, 'cd'), (0, 'ef'), (6, 'gh'), (4, 'ij')]; t = 'ab'
h.append((int(g), t))
g = '0'; h = [(0, 'ab'), (6, 'cd'), (0, 'ef'), (6, 'gh'), (4, 'ij'), (0, 'ab')]; t = 'ab'
h = [10, 1, 10, 1, 10]; j = 1
t += abs(h[j - 1] - 1)
h = [10, 1, 10, 1, 10]; j = 1; t = -19
g = 2; v = [0.07, 0.37, 76.17]; y = [[0.18, 0.89], [1.0, 0.26], [0.92, 0.11]]
y.append(v[0:g])
g = 2; v = [0.07, 0.37, 76.17]; y = [[0.18, 0.89], [1.0, 0.26], [0.92, 0.11], [0.07, 0.37]]
e = [2, 5, 6]
e.sort(reverse=True)
e = [6, 5, 2]
i = 5; j = 7; s = 'ifailuhkqq'; u = 'u',
u = tuple(sorted(list(s[i:j])))
i = 5; j = 7; s = 'ifailuhkqq'; u = ('h', 'u')
o = 1; x = 5
x = o + 1
o = 1; x = 2
h = 1; p = 1
i += p - h
h = 1; i = 21; p = 1
e = {9, 2, 4, 5}; v = {2, 11, 4, 12}
b.extend(e.difference(v))
b = [9, 5]; e = {9, 2, 4, 5}; v = {2, 11, 4, 12}
b = [26, 27, 28, 29, 30]; p = 62
b.append(p - 1)
b = [26, 27, 28, 29, 30, 61]; p = 62
a = 10; b = 12; r = 0
r = b % a
a = 10; b = 12; r = 2
e = 'aaa'; v = ['bbb']
e = v[0] if v else None
e = 'bbb'; v = ['bbb']
a = [5, 3, 2]
l = max(a)
a = [5, 3, 2]; l = 5
t = 5; z = [1, 2, 1, 2, 1, 1, 1, 1]
z[t] = z[t - 1] + 1
t = 5; z = [1, 2, 1, 2, 1, 2, 1, 1]
i = 2; n = 2
n = n / i
i = 2; n = 1.0
e = [0, 1, 3, 7, 15, 31, 63, 127, 255, 511]; g = 511
g = (1 + e[-1] * 2) % p
e = [0, 1, 3, 7, 15, 31, 63, 127, 255, 511]; g = -33; p = -44