start
stringlengths
5
368
code
stringlengths
5
143
end
stringlengths
5
527
k = 5
k -= 1
k = 4
a = 6; n = 10
a = n
a = 10; n = 10
j = 2; k = 1; s = ['c', 'd', 'c', 'd']
x = s[k:k + j]
j = 2; k = 1; s = ['c', 'd', 'c', 'd']; x = ['d', 'c']
x = [3, 1, 2]
x.sort()
x = [1, 2, 3]
f = [-17, -16, -16, -15, -15, -14, -14, -13, -13, -12, 106, 107, 107, 108, 108, 109, 110, 111, 112]
list.pop(f, 0)
f = [-16, -16, -15, -15, -14, -14, -13, -13, -12, 106, 107, 107, 108, 108, 109, 110, 111, 112]
i = 3; s = [0, 1, 1, 2]; v = '1011'
s.append(int(v[i]) + s[i])
i = 3; s = [0, 1, 1, 2, 3]; v = '1011'
a = ['2', 'o2', '2', '10']
a = list()
a = []
c = [0, 2, 0, 2, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 2, 1, 0, 3, 2, 1, 1, 0, 1, 1, 1, 0, 2, 2]; x = 9
c[x] += 1
c = [0, 2, 0, 2, 0, 0, 1, 0, 1, 2, 1, 0, 1, 0, 0, 0, 1, 1, 2, 1, 0, 3, 2, 1, 1, 0, 1, 1, 1, 0, 2, 2]; x = 9
t = [1, 3]
l = t[0]
l = 1; t = [1, 3]
a = '['; q = ['{']
a = q.pop()
a = '{'; q = []
r = ['7 50\n', '1 12 5 111 200 1000 10\n', '\n', '\n', '\n']
k = r[1].split(' ')
k = ['1', '12', '5', '111', '200', '1000', '10\n']; r = ['7 50\n', '1 12 5 111 200 1000 10\n', '\n', '\n', '\n']
i = 2; p = [1, 2, 3]
i = -i % len(p)
i = 1; p = [1, 2, 3]
i = 9
i = i + 1
i = 10
a = 1
a, b = b, a + b
a = -24; b = -23
l = 8; s = 1, 5
l = sum(s)
l = 6; s = (1, 5)
e = 4294967294; j = 0
e = 4294967295 - j
e = 4294967295; j = 0
d = [2, 3, 3, 4, 6]; o = 1
del d[o]
d = [2, 3, 4, 6]; o = 1
q = ['1', '0', '0', '0', '0', '0', '0', '0', '0', '0']
q.append(newDigit)
k = 54; q = ['1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 54]
y = '00000000000000'
y = '0' + y
y = '000000000000000'
i = 0; v = ['i', 'love', 'to', 'dance', 'i', 'like', 'to', 'dance', 'i', 'like', 'to', 'play', 'chess']
d = v[i:]
d = ['i', 'love', 'to', 'dance', 'i', 'like', 'to', 'dance', 'i', 'like', 'to', 'play', 'chess']; i = 0; v = ['i', 'love', 'to', 'dance', 'i', 'like', 'to', 'dance', 'i', 'like', 'to', 'play', 'chess']
b = [['-', '-', '-', '-', '-', 'to'], [], [], ['be'], ['-', 'that'], [], [ '-', '-', '-', '-'], [], [], [], [], [], []]; d = 'be'; x = 1
b[x].append(d)
b = [['-', '-', '-', '-', '-', 'to'], ['be'], [], ['be'], ['-', 'that'], [], ['-', '-', '-', '-'], [], [], [], [], [], []]; d = 'be'; x = 1
k = [1, 1, 2, None]; q = 6; y = 3
k[y] = q
k = [1, 1, 2, 6]; q = 6; y = 3
a = 0; m = 4; w = 5
a = m - w
a = -1; m = 4; w = 5
m = ['2', '1']
b = float(m[1])
b = 1.0; m = ['2', '1']
p = 'eededdeedede'
d = len(p)
d = 12; p = 'eededdeedede'
m = ['-1', '-1']
m[0] = int(m[0])
m = [-1, '-1']
c = [[11, 2, 4], [4, 5, 6], [10, 8, -12]]; i = 2; j = 0
r += c[j][i]
c = [[11, 2, 4], [4, 5, 6], [10, 8, -12]]; i = 2; j = 0; r = -57
s = 'ABCDEFGHIJKLIMNOQRSTUVWXYZ'; w = 4
s = s[w:]
s = 'EFGHIJKLIMNOQRSTUVWXYZ'; w = 4
f = 0; i = 'n'; q = ['o']
q[f] = i
f = 0; i = 'n'; q = ['n']
u = 16.609375; x = 32.21875
x = u
u = 16.609375; x = 16.609375
i = 3; k = ["'", "'", '[', ']', 'k', 'l', 'm', 'n', 'o']; u = ["['ebacd']", "['fghij']", "['olmkn']", "['trpqs']", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
k = list(u[i])
i = 3; k = ['[', "'", 't', 'r', 'p', 'q', 's', "'", ']']; u = ["['ebacd']", "['fghij']", "['olmkn']", "['trpqs']", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
n = 1.0000000000000002e-47
n /= 10
n = 1.0000000000000003e-48
c = '5'; g = {'B': 1, '1': 1, 'C': 1, 'D': 1, 'E': 1, 'F': 1, '2': 1, '3': 1}
g[c] = 1
c = '5'; g = {'B': 1, '1': 1, 'C': 1, 'D': 1, 'E': 1, 'F': 1, '2': 1, '3': 1, '5': 1}
i = 3; k = [3, 6, 1, 3, 1]; x = 1
x = k[i]
i = 3; k = [3, 6, 1, 3, 1]; x = 3
d = 6; i = 2; t = 5; x = {(0): 9, (1): 6}
x[i] = t + d
d = 6; i = 2; t = 5; x = {0: 9, 1: 6, 2: 11}
n = 11; p = [2, 3, 5, 7]
p.append(n)
n = 11; p = [2, 3, 5, 7, 11]
k = 361698562; p = 652103153; s = 1000000007
k = k * p % s
k = 64712589; p = 652103153; s = 1000000007
i = 3; l = [6, 5, 8, 4, 7, 10, 9]; m = [6, 5]
m.append(l[i])
i = 3; l = [6, 5, 8, 4, 7, 10, 9]; m = [6, 5, 4]
i = 0; x = ['c', 'a', 'b', ' ', ' ']
q = ''.join(x[i:i + 2])
i = 0; q = 'ca'; x = ['c', 'a', 'b', ' ', ' ']
l = [0, 1, 3]; x = 3
l.append(l[-1] ^ x)
l = [0, 1, 3, 0]; x = 3
g = '\n'; x = [['4'], ['2'], ['8'], ['36'], ['900'], []]
x.append(g.split())
g = '\n'; x = [['4'], ['2'], ['8'], ['36'], ['900'], [], []]
c = 4; o = 2
c = o + 1
c = 3; o = 2
d = '+++++-++++'; p = ['+-++++++++', '+-++++++++', '+-++++++++', '+-----++++', '+-+++-++++', '+-+++-++++']
p.append(d)
d = '+++++-++++'; p = ['+-++++++++', '+-++++++++', '+-++++++++', '+-----++++', '+-+++-++++', '+-+++-++++', '+++++-++++']
a = ['CANDY', 5]; h = OrderedDict([('BANANA FRIES', 0), ('POTATO CHIPS', 0), ('APPLE JUICE', 0)])
h[a[0]] = 0
a = ['CANDY', 5]; h = OrderedDict([('BANANA FRIES', 0), ('POTATO CHIPS', 0), ('APPLE JUICE', 0), ('CANDY', 0)])
j = 4; p = [1, 2, 4, 5, 7, 8, 10]; x = [(4, 3), (5, 4)]
x.append((p[j], j + 1))
j = 4; p = [1, 2, 4, 5, 7, 8, 10]; x = [(4, 3), (5, 4), (7, 5)]
s = [(-1, 0), (1, 0), (0, 1), (0, -1)]; x = 0
x = s[0][0]
s = [(-1, 0), (1, 0), (0, 1), (0, -1)]; x = -1
i = 2; x = [(3, 1)]; y = [0, 0, 0, 0, 0, 0, 0]
y[i] = x[-1][1]
i = 2; x = [(3, 1)]; y = [0, 0, 1, 0, 0, 0, 0]
a = frozenset({1}); b = frozenset({2})
c = a | b
a = frozenset({1}); b = frozenset({2}); c = frozenset({1, 2})
j = [0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; x = 'g'
j[ord(x) - 97] += 1
j = [0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; x = 'g'
e = 3; o = [5, '0 1', '1 2']; v = 2
o.append('{} {}'.format(v, e))
e = 3; o = [5, '0 1', '1 2', '2 3']; v = 2
j = 2; v = [3, 1, 2]
c = v[i:j + 1]
c = [3, 1, 2]; i = -12; j = 2; v = [3, 1, 2]
h = [0, 0, 1, 0, 1, 1, 0, 0]; i = 6; n = [0, 0, 1, 1, 1, 0, 0, 0, 1]; p = 2
h[i] = n[i] ^ n[i - 1] ^ h[i - p]
h = [0, 0, 1, 0, 1, 1, 1, 0]; i = 6; n = [0, 0, 1, 1, 1, 0, 0, 0, 1]; p = 2
i = 2; q = [0]
q.append(i)
i = 2; q = [0, 2]
a = 2; b = 10; i = 58; u = 2882303761517117542
u += a ^ b << i
a = 2; b = 10; i = 58; u = 5764607523034234984
d = {(1, 2), (2, 1), (-2, -1)}; o = -1; x = -2
d.add((o, x))
d = {(1, 2), (-1, -2), (2, 1), (-2, -1)}; o = -1; x = -2
c = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]; i = 2; k = 11; m = [1, 6, 9]; n = 10
n = c[k - m[i]] + m[i]
c = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]; i = 2; k = 11; m = [1, 6, 9]; n = 11
g = ['1']; x = 2
g = list(str(x))
g = ['2']; x = 2
a = 7; b = 8; f = {(1): [2, 3], (2): [4, -1], (3): [5, -1], (4): [6, -1]}; w = 5
f[w] = [a, b]
a = 7; b = 8; f = {1: [2, 3], 2: [4, -1], 3: [5, -1], 4: [6, -1], 5: [7, 8]}; w = 5
m = [1, 5.0, 10.0, 10.0]; v = 5.0
m.append(v)
m = [1, 5.0, 10.0, 10.0, 5.0]; v = 5.0
w = 5.0
w = w + 1
w = 6.0
l = 2; o = 'b'; t = {('a', 1): 1, ('a', 2): 2, ('a', 3): 3, ('b', 1): 2}; v = 4
t[o, l] = v
l = 2; o = 'b'; t = {('a', 1): 1, ('a', 2): 2, ('a', 3): 3, ('b', 1): 2, ('b', 2): 4}; v = 4
p = 'bcdef'; x = 'OrderedDict'
x = ctr.get(p, 0)
m = {}; p = 'bcdef'; x = 0
c = 1; j = '0'
c = int(j)
c = 0; j = '0'
b = '01011011'; i = 6
b = b[:i] + '0' + b[i + 1:]
b = '01011001'; i = 6
i = 0, 0, 2; j = 0; k = [5, 4]; y = 123
y += k[i[j]] ** 2
i = (0, 0, 2); j = 0; k = [5, 4]; y = 148
b = 1; g = 6; p = 0
g = p + b
b = 1; g = 1; p = 0
a = 2; b = 10; f = 175921860444234; i = 44
f += a ^ b << i
a = 2; b = 10; f = 351843720888396; i = 44
l = [0, 0, 2, 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]; w = 3
l[w] += 1
l = [0, 0, 2, 2, 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]; w = 3
a = 2; b = 10; i = 124; u = 212676479325586539664609129644855132394
u += a ^ b << i
a = 2; b = 10; i = 124; u = 425352958651173079329218259289710264556
f = 1; i = 1
f = f + i + 1
f = 3; i = 1
m = [[2, 2, 2], [1, 1, 1]]; x = 2; y = 2; z = 2
m.append([x, y, z])
m = [[2, 2, 2], [1, 1, 1], [2, 2, 2]]; x = 2; y = 2; z = 2
h = [[[-1, -1], [-1, 0], [-1, 1], [-1, 2], [-1, 3]], [[0, -1], [-1, -1], [0, -1], [-1, -1], [0, -1]], [[1, -1], [-1, 0], [1, 1], [-1, 2], [1, 3]], [ [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1]]]; i = 2; j = 4; r = 8
r = max(r, (h[i][j][0] + 1) * 2 + (h[i][j][1] + 1) * 2)
h = [[[-1, -1], [-1, 0], [-1, 1], [-1, 2], [-1, 3]], [[0, -1], [-1, -1], [0, -1], [-1, -1], [0, -1]], [[1, -1], [-1, 0], [1, 1], [-1, 2], [1, 3]], [[-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1]]]; i = 2; j = 4; r = 12
k = 1; x = [1]
x.append(k)
k = 1; x = [1, 1]
j = 100; p = 100
p += j
j = 100; p = 200
c = [3, 4, 2, 3, 6, 1, 3, 6, 9, 10]; k = 9; x = 10
k = c[x - 1]
c = [3, 4, 2, 3, 6, 1, 3, 6, 9, 10]; k = 10; x = 10
c = 'k'; m = (2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101); n = 19
n *= m[ord(c) - 97]
c = 'k'; m = (2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101); n = 589
d = ['remove', '6']; i = [6, 5, 10]
i.remove(int(d[1]))
d = ['remove', '6']; i = [5, 10]
f = OrderedDict([('BANANA FRIES', 12), ('POTATO CHIPS', 30), ('APPLE JUICE', 10)]); l = '5'; u = 'CANDY'
f[u] = f.get(u, 0) + int(l)
f = OrderedDict([('BANANA FRIES', 12), ('POTATO CHIPS', 30), ('APPLE JUICE', 10), ('CANDY', 5)]); l = '5'; u = 'CANDY'
i = 0; j = 10; n = 'a', 'f', 'h', 'i', 'i', 'k', 'l', 'q', 'u'; s = 'ifailuhkqq'
n = tuple(sorted(list(s[i:j])))
i = 0; j = 10; n = ('a', 'f', 'h', 'i', 'i', 'k', 'l', 'q', 'q', 'u'); s = 'ifailuhkqq'
d = deque([]); n = ['append', '1']
getattr(d, n[0])(*n[1:])
d = deque(['1']); n = ['append', '1']
n = 5
n = n // 5
n = 1
a = [7, 12, 24, 6, 5]; s = 43; x = 1
s = s + a[x]
a = [7, 12, 24, 6, 5]; s = 55; x = 1
b = [3, 4, 1, 2, 1, 3]; j = -1
j = len(b) - 1
b = [3, 4, 1, 2, 1, 3]; j = 5
i = [0, 9, 0, 0]; t = 2; w = [0, 9, 0, 0]
i[t] = 9
i = [0, 9, 9, 0]; t = 2; w = [0, 9, 0, 0]
n = 1.000000000000001e-116
n /= 10
n = 1.0000000000000009e-117
c = 1, 0, 1, 1, 0, 1; g = 1, 0, 1, 1, 0, 1; i = 2
g = tuple(c[i + 1:])
c = (1, 0, 1, 1, 0, 1); g = (1, 0, 1); i = 2
p = [2, 3, 1]; u = 3
u = p.index(u)
p = [2, 3, 1]; u = 1
d = {(63): 1, (25): 1, (73): 2, (1): 1, (98): 1, (56): 1, (84): 1, (86): 1, (57): 1}; e = 16
d[e] = 1
d = {63: 1, 25: 1, 73: 2, 1: 1, 98: 1, 56: 1, 84: 1, 86: 1, 57: 1, 16: 1}; e = 16
j = 2; s = [1, 1000, 1]; t = [1]
t = s[j + 1:len(s)]
j = 2; s = [1, 1000, 1]; t = []
d = [2, 2]; v = [1]
v = v + d[i2:]
d = [2, 2]; e = -20; v = [1, 2, 2]
a = 3; w = 6.0
w += a * (a + 1) / 2
a = 3; w = 12.0
i = 3; y = 3
y = y ^ i
i = 3; y = 0
l = [3]; x = 4
x = l.pop()
l = []; x = 3
g = 4; h = [3, 2, 1, 3]
g = h[0]
g = 3; h = [3, 2, 1, 3]
a = [(1, 0), (0, 1), (2, 1), (1, 2), (0, 2)]; n = 2, 0
a.append(n)
a = [(1, 0), (0, 1), (2, 1), (1, 2), (0, 2), (2, 0)]; n = (2, 0)
q = [1, 2, 1, 3, 2]
m = [q[0]]
m = [1]; q = [1, 2, 1, 3, 2]
d = 'This$#is% Matrix'; i = 2; j = 2; x = ['Tsi', 'h%x', 'i #', 'sM ', '$a ', '#t%', 'ir!']
d += x[j][i]
d = 'This$#is% Matrix#'; i = 2; j = 2; x = ['Tsi', 'h%x', 'i #', 'sM ', '$a ', '#t%', 'ir!']
i = 'e'; k = 'e'
k = k + i
i = 'e'; k = 'ee'
i = 1; n = 4; x = ['3', '9', '4', '3']
x[n - i - 1] = '9'
i = 1; n = 4; x = ['3', '9', '9', '3']
c = 14
c += 1
c = 15