start
stringlengths
5
368
code
stringlengths
5
143
end
stringlengths
5
527
b = ['a', 'b', 'c']; c = 0; i = 'd'; z = ['c', 'd', 'e']
c = z.count(i) - b.count(i)
b = ['a', 'b', 'c']; c = 1; i = 'd'; z = ['c', 'd', 'e']
i = 2; j = 122
j += i
i = 2; j = 124
c = 'haveaniceday'; i = 8; w = ['h', 'a']
w.append(c[i])
c = 'haveaniceday'; i = 8; w = ['h', 'a', 'e']
t = 4; w = 10; x = ['1', '2', '3', '4', '10', '11']
w = int(x[t]) + w
t = 4; w = 20; x = ['1', '2', '3', '4', '10', '11']
n = '1012'; p = 12
p = int(n)
n = '1012'; p = 1012
m = ['0', '1', '2']; t = 4
t = int(m[1])
m = ['0', '1', '2']; t = 1
o = 1000; x = '1000'
o = int(x) + 1
o = 1001; x = '1000'
d = 1; s = [2, 2, 3, 1, 2]
s[0] = d
d = 1; s = [1, 2, 3, 1, 2]
i = 2
l = i - 1
i = 2; l = 1
g = 2; q = 'mn'; s = 'xyyx'
q = s[:g]
g = 2; q = 'xy'; s = 'xyyx'
i = 0; j = 0; k = [[1, 3, 1], [2, 1, 2], [3, 3, 3]]; x = [0]
x[i] += k[j][i]
i = 0; j = 0; k = [[1, 3, 1], [2, 1, 2], [3, 3, 3]]; x = [1]
e = ['07895462130', '919875641230', '9195969878']; i = 0
a = e[i]
a = '07895462130'; e = ['07895462130', '919875641230', '9195969878']; i = 0
t = ['3', '2']
t[0] = int(t[0])
t = [3, '2']
p = 10; y = 44
y = y - p
p = 10; y = 34
g = 1001; n = '9991'
g = int(n) + 1
g = 9992; n = '9991'
q = 9
q -= 1
q = 8
k = 3; u = 9
u = u + k
k = 3; u = 12
b = 3; d = {(1): 1, (2): 2, (3): 2, (4): 3}; l = {(1): 2, (2): 4, (3): 5, (4): 6, (5): 7, (6): -1, (7): -1, (8): 10, (9): -1, (10): -1, (11): -1}
d[l[b]] = d[b] + 1
b = 3; d = {1: 1, 2: 2, 3: 2, 4: 3, 5: 3}; l = {1: 2, 2: 4, 3: 5, 4: 6, 5: 7, 6: -1, 7: -1, 8: 10, 9: -1, 10: -1, 11: -1}
h = ['a', 'b', 'c', 'd', 'e']
g.append(h)
g = [['a', 'b', 'c', 'd', 'e']]; h = ['a', 'b', 'c', 'd', 'e']
g = ['d', 'db', 'dba', 'dbac', 'b', 'ba', 'bac', 'a', 'ac', 'c']
n = sorted(list(set(g)))
g = ['d', 'db', 'dba', 'dbac', 'b', 'ba', 'bac', 'a', 'ac', 'c']; n = ['a', 'ac', 'b', 'ba', 'bac', 'c', 'd', 'db', 'dba', 'dbac']
i = 9; n = 10
e = [(0) for i in range(n)]
e = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; i = 9; n = 10
b = 'abc'
c = len(b)
b = 'abc'; c = 3
s = 'ifailuhkqq'; t = 'fa'; v = 2; y = 2
t = s[v:v + y]
s = 'ifailuhkqq'; t = 'ai'; v = 2; y = 2
a = [{'a': 1, 'b': 1}]; s = {'b': 2}
a.append(s)
a = [{'a': 1, 'b': 1}, {'b': 2}]; s = {'b': 2}
v = 0
v += 1
v = 1
h = 5
a = h
a = 5; h = 5
i = OrderedDict([('BANANA FRIES', 12)]); n = ['POTATO', 'CHIPS', '30']
i[' '.join(n[:-1])] = int(n[len(n) - 1])
i = OrderedDict([('BANANA FRIES', 12), ('POTATO CHIPS', 30)]); n = ['POTATO', 'CHIPS', '30']
l = 1; v = 5
l = v
l = 5; v = 5
d = 2; m = 3.637978807091713e-12
m /= d
d = 2; m = 1.8189894035458565e-12
i = 0; j = 3; s = 'cdcd'; t = 'ccd'
t = ''.join(sorted(s[i:j + 1]))
i = 0; j = 3; s = 'cdcd'; t = 'ccdd'
a = [0, 0, 2, 3, 0, 5, 6, 7, 8, 9, 40912, 40913, 40914, 40915, 40916, 40917, 40918, 40919, 40920, 40921]; j = 6
a[j] = 0
a = [0, 0, 2, 3, 0, 5, 0, 7, 8, 9, 40912, 40913, 40914, 40915, 40916, 40917, 40918, 40919, 40920, 40921]; j = 6
t = [2, 1, 7]
t.sort()
t = [1, 2, 7]
i = 5; n = 5; s = '--e-d-c-b-c-d-e--'; z = ['e', 'd', 'c', 'b', 'a', 'b', 'c', 'd', 'e']
s = '-' * (n - i) * 2 + '-'.join(z) + '-' * (n - i) * 2
i = 5; n = 5; s = 'e-d-c-b-a-b-c-d-e'; z = ['e', 'd', 'c', 'b', 'a', 'b', 'c', 'd', 'e']
c = 2; v = '1 20'; x = 97
c, x = list(map(int, v.split(' ')))
c = 1; v = '1 20'; x = 20
f = 'some'; j = {'ive': 1, 'got': 1, 'some': 0, 'coconuts': 0}
j[f] += 1
f = 'some'; j = {'ive': 1, 'got': 1, 'some': 1, 'coconuts': 0}
n = 12; v = []
v.extend([d, n // d])
d = -44; n = 12; v = [-44, -1]
i = 0; m = [True, False, False, False, False, False, False, False, False, False, False, False, False]; w = 1
m[i + w] = True
i = 0; m = [True, True, False, False, False, False, False, False, False, False, False, False, False]; w = 1
a = 20; z = {10}
z.add(a)
a = 20; z = {10, 20}
q = ['i', 'f,i', 'a,f,i', 'a,f,i,i', 'a,f,i,i,l', 'a,f,h,i,k,l,u', 'a,f,h,i,k,l,q,u', 'a,f,h,i,k,l,q,q,u', 'a']; y = ['a', 'i']
q.append(','.join(y))
q = ['i', 'f,i', 'a,f,i', 'a,f,i,i', 'a,f,i,i,l', 'a,f,h,i,k,l,u', 'a,f,h,i,k,l,q,u', 'a,f,h,i,k,l,q,q,u', 'a', 'a,i']; y = ['a', 'i']
i = '203'; z = [203, 204, 205, 206, 207, 208, 203, 204, 205, 206]
z.append(int(float(i)))
i = '203'; z = [203, 204, 205, 206, 207, 208, 203, 204, 205, 206, 203]
g = 'xyyx'; u = 'op'
u = g[int(len(g) / 2):]
g = 'xyyx'; u = 'yx'
i = 5; j = 4; y = [1, 2, 2, 3, 3, 3]
y[i] = max(y[i], 1 + y[j])
i = 5; j = 4; y = [1, 2, 2, 3, 3, 4]
d = 1; e = 0; i = 0
i, j = e, d
d = 1; e = 0; i = 0; j = 1
c = [4, 9]; z = 0
c[-1], c[z] = c[z], c[-1]
c = [9, 4]; z = 0
i = 2; l = 1; n = 'f'; s = 'ifailuhkqq'
n = list(s[i:i + l])
i = 2; l = 1; n = ['a']; s = 'ifailuhkqq'
j = 1
h.append(j)
h = [1]; j = 1
m = 2; o = -inf
o = m
m = 2; o = 2
a = ['7895462130', '9195969878', '9875641230']; f = '62130'; i = 1
f = a[i][5:10]
a = ['7895462130', '9195969878', '9875641230']; f = '69878'; i = 1
l = 2; n = 11; w = 8
l = n - w
l = 3; n = 11; w = 8
b = ['i', 'if', 'ifa', 'ifai', 'ifail', 'ifailu']; x = 'ifailuh'
b.append(x)
b = ['i', 'if', 'ifa', 'ifai', 'ifail', 'ifailu', 'ifailuh']; x = 'ifailuh'
f = 8
f += 1
f = 9
a = ['2', '5\n']
n = int(a[0])
a = ['2', '5\n']; n = 2
a = ['6', 'o6', '6', '110']
a = list()
a = []
l = 'g'; w = ['a', 'b', 'c', 'f', 'g', 'h', 'i', 'k', 'n', 'q', 's', 'v', 'x', 'z']
w.remove(l)
l = 'g'; w = ['a', 'b', 'c', 'f', 'h', 'i', 'k', 'n', 'q', 's', 'v', 'x', 'z']
n = [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]; o = [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]; s = 6; x = 0
s += abs(n[x] - o[x])
n = [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]; o = [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]; s = 7; x = 0
i = 106; k = 2; l = {'a': 'c', 'b': 'd', 'c': 'e', 'd': 'f', 'e': 'g', 'f': 'h', 'g': 'i', 'h': 'j', 'i': 'k'}
l[chr(i)] = chr(i + k)
i = 106; k = 2; l = {'a': 'c', 'b': 'd', 'c': 'e', 'd': 'f', 'e': 'g', 'f': 'h', 'g': 'i', 'h': 'j', 'i': 'k', 'j': 'l'}
f = 3; i = {1, 2}; t = 'a'
i.add(f * (ord(t) - 96))
f = 3; i = {1, 2, 3}; t = 'a'
e = ['a', 'b', 'b']; j = 1
e.pop(j)
e = ['a', 'b']; j = 1
f = 5; k = 5; x = 7
f = x - k
f = 2; k = 5; x = 7
a = 12
b = str(a)
a = 12; b = '12'
a = 1; j = 2; o = [0, 0, 2, 3, 2, 2, 1, 0]
o[j] = o[j] - a
a = 1; j = 2; o = [0, 0, 1, 3, 2, 2, 1, 0]
d = {(1): [['1'], ['2'], [], [], [], []], (3): [['100'], [], [], [], [], [] ], (29): [['12303479849857341718340192371'], [], [], [], [], []]}; m = 16
d[m] = [[] for _ in range(9)]
d = {1: [['1'], ['2'], [], [], [], []], 3: [['100'], [], [], [], [], []], 29: [['12303479849857341718340192371'], [], [], [], [], []], 16: [[], [], [], [], [], [], [], [], []]}; m = 16
i = 2; r = '3'; s = '1234'; z = '2'
z = s[i:i + len(r)]
i = 2; r = '3'; s = '1234'; z = '3'
i = 0
y.append(i)
i = 0; y = [0]
n = [1, 2, 2, 3, 4]
b = n[:]
b = [1, 2, 2, 3, 4]; n = [1, 2, 2, 3, 4]
b = 7
b += 1
b = 8
c = '('; y = ['{', '{', '[', '[']
y.append(c)
c = '('; y = ['{', '{', '[', '[', '(']
q = 2; x = 5
q = x
q = 5; x = 5
e = {(1): 0, (2): 24, (3): -1, (4): -1}; f = 24; o = 1; x = 4, 20
f = e[o] + x[1]
e = {1: 0, 2: 24, 3: -1, 4: -1}; f = 20; o = 1; x = (4, 20)
b = 4
b >>= 1
b = 2
j = 1; k = 1
k = j + 1
j = 1; k = 2
e = 55; p = 45
e = e + p
e = 100; p = 45
a = [['Harry', 37.21], ['Berry', 37.21], ['Tina', 37.2], ['Akriti', 41.0]]; f = ['Harsh', 39.0]
a.append(f)
a = [['Harry', 37.21], ['Berry', 37.21], ['Tina', 37.2], ['Akriti', 41.0], ['Harsh', 39.0]]; f = ['Harsh', 39.0]
c = 1; q = 'abc'
o = q[:c]
c = 1; o = 'a'; q = 'abc'
f = 'ifailuhkqq'; i = 3; j = 4; v = ['i', 'if', 'ifa', 'ifai', 'ifail', 'ifailu', 'ailu', 'ailuh', 'ailuhk', 'ailuhkq', 'ailuhkqq', 'i']
v.append(f[i:j + 1])
f = 'ifailuhkqq'; i = 3; j = 4; v = ['i', 'if', 'ifa', 'ifai', 'ifail', 'ifailu', 'ailu', 'ailuh', 'ailuhk', 'ailuhkq', 'ailuhkqq', 'i', 'il']
i = 4; s = [0, 0, 2, 4, 5, 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]
s[i + 1] += s[i]
i = 4; s = [0, 0, 2, 4, 5, 5, 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]
k = [6, 5, 4, 9]; p = [6, 5, 8, 4, 7, 10, 9]
p = k
k = [6, 5, 4, 9]; p = [6, 5, 4, 9]
f = [-1]
f.append(-1)
f = [-1, -1]
p = 'a'; x = 'b'
p = p + str(x)
p = 'ab'; x = 'b'
b = [1, 2, 3, 7, 12, 14, 21, 21]; e = 12; i = 6
e = b[i]
b = [1, 2, 3, 7, 12, 14, 21, 21]; e = 21; i = 6
h = 'CANDY'; j = 'POTATO CHIPS 30'
h = ' '.join(j.split()[0:-1])
h = 'POTATO CHIPS'; j = 'POTATO CHIPS 30'
e = [1, 14]; m = 42
m = e[1]
e = [1, 14]; m = 14
b = 94447329657392904273920
b <<= 1
b = 188894659314785808547840
i = 6; j = 6
j = i + 1
i = 6; j = 7
k = 'abc'
k = list(k)
k = ['a', 'b', 'c']
c = (1, 0, 0, 0, 0, 1, 0, 0, 2, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); h = 2131078489687434243
h = hash(c)
c = (1, 0, 0, 0, 0, 1, 0, 0, 2, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); h = -4978309969660296280
u = [0, 1, 0, 0]
u.remove(0)
u = [1, 0, 0]
j = 1; k = 1; m = [1, None, None, None, None]; t = [1, 1, 1, 2, 2]
m[k] = t[j]
j = 1; k = 1; m = [1, 1, None, None, None]; t = [1, 1, 1, 2, 2]
i = 2; l = [6, 5]; r = [6, 5, 4]
l.append(r[i])
i = 2; l = [6, 5, 4]; r = [6, 5, 4]
e = [1, 2, 3]; i = 4; j = 2; t = [[1, 1, 1], [1, 1, 1], [1, 2, 2], [1, 2, 3], [1, 3, 0]]; x = 2
x = t[i - e[j]][j] if i - e[j] >= 0 else 0
e = [1, 2, 3]; i = 4; j = 2; t = [[1, 1, 1], [1, 1, 1], [1, 2, 2], [1, 2, 3], [1, 3, 0]]; x = 1
k = '('; y = ['{', '{', '[', '[', '(', '(']
k = y.pop()
k = '('; y = ['{', '{', '[', '[', '(']
c = '10'; z = 10
z += int(c)
c = '10'; z = 20
c = 2
c = c + 2
c = 4
b = '1 3 4 5 '; j = 4; r = ['1', '3', '4', '5', '6', '2']
b = b + r[j] + ' '
b = '1 3 4 5 6 '; j = 4; r = ['1', '3', '4', '5', '6', '2']
l = [[89.0, 90.0, 78.0, 93.0, 80.0], [90.0, 91.0, 85.0, 88.0, 86.0], [91.0, 92.0, 83.0, 89.0, 90.5]]
x = zip(*l)
l = [[89.0, 90.0, 78.0, 93.0, 80.0], [90.0, 91.0, 85.0, 88.0, 86.0], [91.0, 92.0, 83.0, 89.0, 90.5]]; x = <zip object at 0x7f1c77b05280>
c = 'D'; n = ['A']
n.append(c)
c = 'D'; n = ['A', 'D']
g = 2; i = 1; t = 0; x = '16'
g += int(x[i]) * 2 ** t
g = 8; i = 1; t = 0; x = '16'
m = 1.2000000000000006e-37; p = 1.2000000000000006e-38
m = p % 10
m = 1.2000000000000006e-38; p = 1.2000000000000006e-38
k = 40; w = ( 'In the third category he included those Brothers..., breathless from his gallop and his excitement. ' ); x = 'In the third category he included those '
x += w[k]
k = 40; w = 'In the third category he included those Brothers..., breathless from his gallop and his excitement. '; x = 'In the third category he included those B'
p = 13
p += 1
p = 14