start
stringlengths
5
368
code
stringlengths
5
143
end
stringlengths
5
527
b = 0, 5; g = 2
g = b[0] + 1
b = (0, 5); g = 1
d = {'a': False, 'b': False, 'c': False, 'd': False, 'e': False, 'f': False}; i = 'g'
d[i] = False
d = {'a': False, 'b': False, 'c': False, 'd': False, 'e': False, 'f': False, 'g': False}; i = 'g'
k = 1; p = [2, 3, 1]; s = 2
s = p.index(k) + 1
k = 1; p = [2, 3, 1]; s = 3
h = 3; r = [[5, 5], [4, 2]]; u = 2
r.append([u, h])
h = 3; r = [[5, 5], [4, 2], [2, 3]]; u = 2
c = [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]; i = 'a'
c[ord(i) - 97] += 1
c = [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 = 'a'
i = 2; j = 9; l = [10, 8, -12]
j += l[-i - 1]
i = 2; j = 19; l = [10, 8, -12]
d = 2; f = deque([0, 1])
d = f.pop()
d = 1; f = deque([0])
m = 0
m = len(b)
b = 'bS1Lx5oe4nIAt0b'; m = 15
i = 0; p = 1, 0, 1; x = 1, 0, 1
x = tuple(p[:i + 1])
i = 0; p = (1, 0, 1); x = (1,)
k = 1.0000000000000001e-23
k = k / 10
k = 1.0000000000000001e-24
i = '([A-Za-z0-9])\\1{1,}'; p = '([A-Za-z0-9])\\1{1,}'
i = p
i = '([A-Za-z0-9])\\1{1,}'; p = '([A-Za-z0-9])\\1{1,}'
j = 'b'; x = {'a': 1, 'ab': 1, 'abc': 1, 'abcd': 1}
x[j] = 1
j = 'b'; x = {'a': 1, 'ab': 1, 'abc': 1, 'abcd': 1, 'b': 1}
b = [3, 1, 2]
r = b[:]
b = [3, 1, 2]; r = [3, 1, 2]
g = ['two', 'times', 'two', 'is', 'four']; t = [Counter({'two': 2, 'times': 1, 'is': 1, 'four': 1})]
g = t[0] if t else None
g = Counter({'two': 2, 'times': 1, 'is': 1, 'four': 1}); t = [Counter({'two': 2, 'times': 1, 'is': 1, 'four': 1})]
e = [5, 2, 1]
m = e[1]
e = [5, 2, 1]; m = 2
k = '1'; x = '110100'
x += '1' if k == '0' else '0'
k = '1'; x = '1101000'
k = 4
k += 1
k = 5
o = 0; v = ['6', 'gh']
o = int(v[0])
o = 6; v = ['6', 'gh']
x = 2
x = x - 1
x = 1
c = [1, 2, 0]; n = [4, 0, 0]; p = [0, 0, 0]
h = (c[1] - n[1]) * (c[2] - p[2]) - (c[1] - p[1]) * (c[2] - n[2])
c = [1, 2, 0]; h = 0; n = [4, 0, 0]; p = [0, 0, 0]
h = 'eddeededee'; l = 10; s = 'deddeededeee'; x = 2
h = s[x:x + l]
h = 'ddeededeee'; l = 10; s = 'deddeededeee'; x = 2
a = 317811; b = 514229
a, b = b, a + b
a = 514229; b = 832040
c = 2; f = 5; h = 1; l = 3; x = [2, 2, 3, 7]
h = x[l] - (c - f)
c = 2; f = 5; h = 10; l = 3; x = [2, 2, 3, 7]
c = array([1, 2, 3, 7, 8, 9]); v = 'reshape'
q = getattr(c, v, None)
c = array([1, 2, 3, 7, 8, 9]); q = <built-in method reshape of numpy.ndarray object at 0x7f1c77af8580>; v = 'reshape'
a = '100000000000000000000000'
a += '0'
a = '1000000000000000000000000'
q = [(1, 2)]; x = 2; y = 2
q.append((x, y))
q = [(1, 2), (2, 2)]; x = 2; y = 2
i = 7; s = 'chris alan'; t = 'Chris A'
t += s[i]
i = 7; s = 'chris alan'; t = 'Chris Al'
b = '111111111111111111'
b = b + '1'
b = '1111111111111111111'
i = 0; k = 50; p = [1, 5, 10, 12, 111, 200, 1000]
k -= p[i]
i = 0; k = 49; p = [1, 5, 10, 12, 111, 200, 1000]
i = 2; s = 'love to dance.'; w = ['I', 'love', 'to', 'dance.', 'I', 'like', 'to', 'dance', 'I.', 'like', 'to', 'play', 'chess.']
s = ' '.join(w[i:i + 3])
i = 2; s = 'to dance. I'; w = ['I', 'love', 'to', 'dance.', 'I', 'like', 'to', 'dance', 'I.', 'like', 'to', 'play', 'chess.']
j = 5; k = 8; m = 3
k = m + j
j = 5; k = 8; m = 3
n = 0.001953125
n /= 2
n = 0.0009765625
i = 6; x = 4
i += x
i = 10; x = 4
i = 4; l = [[2, 3, 4, 4], [5, 6, 7, 8], [9, 10, 11, 12], [13, 14, 15, 16]]; q = 0; u = 0
l[q][i - 1 - u] = l[q + 1][i - 1 - u]
i = 4; l = [[2, 3, 4, 8], [5, 6, 7, 8], [9, 10, 11, 12], [13, 14, 15, 16]]; q = 0; u = 0
o = {(-1): [], (0): [0], (6): [1]}; s = 0; x = 2
o[s].append(x)
o = {-1: [], 0: [0, 2], 6: [1]}; s = 0; x = 2
l = ['4 2\n', '1 2 3 4\n', '\n', '\n']
a = [int(x) for x in l[1].split()]
a = [1, 2, 3, 4]; l = ['4 2\n', '1 2 3 4\n', '\n', '\n']
c = 1; v = [1, 3, 1, 2]
del v[c - 1]
c = 1; v = [3, 1, 2]
a = 2; d = [2, 1, 3, 4, 5, 6, 7, 9, 8, 10, 11, 12, 13, 14]; i = 7; p = [2, 3, 1]; w = [8, 10, 8]
w[a] = d[p[a] - 1 + i]
a = 2; d = [2, 1, 3, 4, 5, 6, 7, 9, 8, 10, 11, 12, 13, 14]; i = 7; p = [2, 3, 1]; w = [8, 10, 9]
i = 7; s = 9
s = i + 1
i = 7; s = 8
i = '10000000000000000000000000000000'
i += '1'
i = '100000000000000000000000000000001'
x = 783929.1748046875
x = x / 2
x = 391964.58740234375
h = 2; k = 1
k = k + h
h = 2; k = 3
f = 25; i = 0, 2, 2; j = 1; k = [7, 8, 9]
f += k[i[j]] ** 2
f = 106; i = (0, 2, 2); j = 1; k = [7, 8, 9]
w = 1; z = [2, '1', '3', '1', '4']
z[w] = int(z[w])
w = 1; z = [2, 1, '3', '1', '4']
a = [0, 1, 2, 2, 2, 2, 2, 0, 0]; i = 1
a[i] += 1
a = [0, 2, 2, 2, 2, 2, 2, 0, 0]; i = 1
j = 4; s = [[5, -1], [6, -1], [7, 8], [-1, 9], [-1, -1], [10, 11], [-1, -1], [-1, -1], [-1, -1]]; y = -1
j, y = s[0]
j = 5; s = [[5, -1], [6, -1], [7, 8], [-1, 9], [-1, -1], [10, 11], [-1, -1], [-1, -1], [-1, -1]]; y = -1
i = 2; z = [0, 0, 2, 0, 0, 0, 0, 0]
z[i] += 1
i = 2; z = [0, 0, 3, 0, 0, 0, 0, 0]
j = 24
j += i
i = 46; j = 70
j = 1.2000000000000008e-51; q = 1.2000000000000007e-50
q = j % 10
j = 1.2000000000000008e-51; q = 1.2000000000000008e-51
n = [2, 1, 0, 0, 0]; o = 2
n[o - 1] += 1
n = [2, 2, 0, 0, 0]; o = 2
e = 2; n = 2.0
n = n - e + 1
e = 2; n = 1.0
p = [1]; u = 2
p.append(u)
p = [1, 2]; u = 2
d = [[], [], [], [], []]; h = 2; l = 1
d[l - 1].append(h - 1)
d = [[1], [], [], [], []]; h = 2; l = 1
f = 1; n = 1
f ^= n
f = 0; n = 1
s = 'SOSSPSSQSSOR'
s = list(s)
s = ['S', 'O', 'S', 'S', 'P', 'S', 'S', 'Q', 'S', 'S', 'O', 'R']
g = 4; i = 3; j = 5
g = (i and j) ^ (i or j) and i ^ j
g = 6; i = 3; j = 5
a = 'a'; b = '1'; m = ['a', '2']
a, b = [xx for xx in m]
a = 'a'; b = '2'; m = ['a', '2']
b = [97]; h = 97
h = b.pop()
b = []; h = 97
d = {(0): 2, (1): 1}; x = 2
d[x] = d.get(x, 0) + 1
d = {0: 2, 1: 1, 2: 1}; x = 2
g = 64; i = 53; o = 2048
o = 1 << g - i - 1
g = 64; i = 53; o = 1024
f = '\n'; u = ['\n']
u = list(f)
f = '\n'; u = ['\n']
j = 2; o = 6; x = 14
j = abs(x - o)
j = 8; o = 6; x = 14
w = [1, 1, 2, 3, 5, 8, 13, 1134903170, 1836311903, 2971215073, 4807526976, 7778742049, 12586269025]
w.append(w[-2] + w[-1])
w = [1, 1, 2, 3, 5, 8, 13, 1134903170, 1836311903, 2971215073, 4807526976, 7778742049, 12586269025, 20365011074]
p = ['9', '9', '910', '91011', '9101112131415161718', '910111213141516171819', '91011121314151617181920']; r = ['9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21']
p.append(''.join(r))
p = ['9', '9', '910', '91011', '9101112131415161718', '910111213141516171819', '91011121314151617181920', '9101112131415161718192021']; r = ['9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21']
m = '4'; n = '5'
n, m = [int(n), int(m)]
m = 4; n = 5
d = -1
d += 1
d = 0
d = 3; i = 1; j = 2; q = ['10101', '11100', '11010', '00101']
d = str(bin(int(q[int(i)], 2) | int(q[int(j)], 2)))[2:].count('1')
d = 4; i = 1; j = 2; q = ['10101', '11100', '11010', '00101']
a = [1, 2, 4, 5, 7, 8, 10]; i = 2; s = {1, 2}
s.add(a[i])
a = [1, 2, 4, 5, 7, 8, 10]; i = 2; s = {1, 2, 4}
e = [3, 4, 21, 36, 36, 36, 36]; i = 36
e.append(i)
e = [3, 4, 21, 36, 36, 36, 36, 36]; i = 36
e = 1
m += 0.5 * e
e = 1; m = -0.5
c = 0; h = 1; t = [[1], [], [], [], []]
t[h].append(c)
c = 0; h = 1; t = [[1], [0], [], [], []]
a = ['A', 'A', 'A', 'B', 'B', 'B']; b = [66, 65, 66, 65, 66, 65]; i = 0
b.append(ord(a[i]))
a = ['A', 'A', 'A', 'B', 'B', 'B']; b = [66, 65, 66, 65, 66, 65, 65]; i = 0
t = [3, 0, 0, 0, 1, 0, 2, 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 = 6, 'cd'
t[x[0]] += 1
t = [3, 0, 0, 0, 1, 0, 3, 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 = (6, 'cd')
k = 5; n = 5
v = [False for k in range(n + 1)]
k = 5; n = 5; v = [False, False, False, False, False, False]
p = '1111111'
p += str('1')
p = '11111111'
i = 1; j = 3; s = 'abcd'; x = 'b'
x = ''.join(sorted(s[i:j]))
i = 1; j = 3; s = 'abcd'; x = 'bc'
n = {(0): 3, (1): 2}; x = 0
d.append(n[x])
d = [3]; n = {0: 3, 1: 2}; x = 0
z = 32
z += 1
z = 33
c = [1, 2, 3, 4]
n, o = min(c), max(c)
c = [1, 2, 3, 4]; n = 1; o = 4
q = 'b'
w += q
q = 'b'; w = 'of0VrPmeg7b'
k = '3'; s = 'abc'
s = s[:-int(k)]
k = '3'; s = ''
i = 1; j = 3; v = [[[False, 0], [False, 0], [False, 0], [False, 0], [False, 0]], [[False, 0], [False, 0], [False, 0], []]]
v[i][j].append(False)
i = 1; j = 3; v = [[[False, 0], [False, 0], [False, 0], [False, 0], [False, 0]], [[False, 0], [False, 0], [False, 0], [False]]]
m = 1150; v = [21]; y = [21]
v = [m] + y[2:]
m = 1150; v = [1150]; y = [21]
i = 1; k = 1; z = 1
z = k + i
i = 1; k = 1; z = 2
f = '+-------++'; i = ['+-++++++++', '+-++++++++']
i.append(f)
f = '+-------++'; i = ['+-++++++++', '+-++++++++', '+-------++']
n = [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]; x = 1
n[x] += 1
n = [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, 0, 0, 0, 0, 0, 0]; x = 1
p = 18
p += 1
p = 19
d = 0; p = []
p.append(d)
d = 0; p = [0]
i = [1, 0]; j = 6; k = 6
k = i[0] + j
i = [1, 0]; j = 6; k = 7
v = 2; z = 1
z = v
v = 2; z = 2
e = 9; j = 0
j = e
e = 9; j = 9
n = 3
a = [(1) for _ in range(n)]
a = [1, 1, 1]; n = 3
i = 3; p = 6
i = p
i = 6; p = 6
a = 2097152
a = a >> 1
a = 1048576
i = 4, 8, 5; m = 1000; v = 165
v = sum([(x ** 2) for x in i]) % m
i = (4, 8, 5); m = 1000; v = 105
l = [10, 100, 300]; z = 200
l.append(z)
l = [10, 100, 300, 200]; z = 200
j = 2; s = 2; v = [1, 2, 3, 1, 6, 10]
s = s + v[j]
j = 2; s = 5; v = [1, 2, 3, 1, 6, 10]
a = 'cdefghmnopqrstuvw'; b = ['c', 'd', 'e', 'f', 'g', 'h', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w']; i = 15; n = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 = 15; n = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]
f = 1; q = [2, 3]
f = q.pop()
f = 3; q = [2]
g = '100'; l = ['4', '5', '4']
g = ''.join(l)
g = '454'; l = ['4', '5', '4']