start
stringlengths
5
368
code
stringlengths
5
143
end
stringlengths
5
527
d = 1; o = 3
o = o + d
d = 1; o = 4
a = 987; y = [0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610]
y.append(int(a))
a = 987; y = [0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987]
o = ( '1 1 3 3 6 8 9 9 10 12 13 16 16 18 20 21 21 22 23... 27 30 30 32 32 32 33 33 33 34 39 39 40 40 41 42 ' ); x = 43
o += str(x) + ' '
o = '1 1 3 3 6 8 9 9 10 12 13 16 16 18 20 21 21 22 23... 27 30 30 32 32 32 33 33 33 34 39 39 40 40 41 42 43 '; x = 43
a = 3
p = a
a = 3; p = 3
a = 2; i = 0; j = 1; s = '2222222'
a = s[i:j + 1]
a = '22'; i = 0; j = 1; s = '2222222'
j = 55
j += 1
j = 56
i = 6; q = [[0, 'ab'], [1, 'cd'], [2, 'ef'], [3, 'gh'], [4, 'ij'], [5, 'ab']]; s = 'cd'
q.append([i, s])
i = 6; q = [[0, 'ab'], [1, 'cd'], [2, 'ef'], [3, 'gh'], [4, 'ij'], [5, 'ab'], [6, 'cd']]; s = 'cd'
r = 7; w = '4'
r += int(w)
r = 11; w = '4'
p = [[0, '-']]; x = [0, '-']
p.append(x)
p = [[0, '-'], [0, '-']]; x = [0, '-']
a = {(0): {0, 1}, (2): {2}, (3): {3}, (4): {4}}; k = {1}; o = 3
k = a[o]
a = {0: {0, 1}, 2: {2}, 3: {3}, 4: {4}}; k = {3}; o = 3
l = [1, 1, 1, 1, 2, 3]
l.append(0)
l = [1, 1, 1, 1, 2, 3, 0]
d = 5
l += d // 5
d = 5; l = -81
i = 4; j = 4; x = [1, 2, 3, 4, 5]
j = x[i]
i = 4; j = 5; x = [1, 2, 3, 4, 5]
b = 91; i = 11; j = 84
b = max(b, i ^ j)
b = 95; i = 11; j = 84
g = 'd'; p = 1; w = 'abdc'
g = w[p]
g = 'b'; p = 1; w = 'abdc'
i = {(1): 'one', (2): 'two', (3): 'three', (4): 'four', (5): 'five', (6): 'six', (7): 'seven', (8): 'eight'}
i[9] = 'nine'
i = {1: 'one', 2: 'two', 3: 'three', 4: 'four', 5: 'five', 6: 'six', 7: 'seven', 8: 'eight', 9: 'nine'}
f = [1, 1, 1, 1, 1, 1]; i = 1; j = 0
f[i] = f[j] + 1
f = [1, 2, 1, 1, 1, 1]; i = 1; j = 0
i = 2; j = -2
j = -1 * (i + 1)
i = 2; j = -3
e = 3
e += 1
e = 4
j = 0; l = ['CAA']
j = sum(map(len, l))
j = <map object at 0x7f1bf42bd7d0>; l = ['CAA']
k = [1, 0]
k.remove(0)
k = [1]
a = 955444913
a = a * a % 1000000007
a = 387452744
o = 5; v = [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, 0]
v[o] += 1
o = 5; v = [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, 0]
y = ['Mike', 'Thomson', '20', 'M']
u = 'Mr' if y[3] == 'M' else 'Ms'
u = 'Mr'; y = ['Mike', 'Thomson', '20', 'M']
b = 190; g = 6
g = len(bin(b)) - 3
b = 190; g = 7
c = 4; d = 3; m = 6; p = 20; s = 18
s -= max(p - c * d, m)
c = 4; d = 3; m = 6; p = 20; s = 10
t = [20]
t.pop()
t = []
c = [78, 60]; r = [28]
c.append(r[-1])
c = [78, 60, 28]; r = [28]
j = {'a': 2, 'b': 2, 'ab': 2, 'bb': 1, 'abb': 2, 'aabb': 1}; s = 1; v = 'b'
s += (j[v] - 1) * j[v] // 2
j = {'a': 2, 'b': 2, 'ab': 2, 'bb': 1, 'abb': 2, 'aabb': 1}; s = 2; v = 'b'
h = [10]; v = 1; y = [10000000000, 10000000000, 0]
y[v] = y[v] if len(h) == 0 else min(y[v], min(h))
h = [10]; v = 1; y = [10000000000, 10, 0]
d = 140405379001152; e = []; l = {(140405378612192): []}; y = []
y = l.get(d, e)
d = 140405379001152; e = []; l = {140405378612192: []}; y = []
b = 0; k = 1; y = [0, 1, 1, 4, 1]
y[k] = b
b = 0; k = 1; y = [0, 0, 1, 4, 1]
a = 1; c = [[1, 2], [0, 2], [0, 1]]; p = 1; r = 2
b = a * r + (len(c) - a) * p
a = 1; b = 4; c = [[1, 2], [0, 2], [0, 1]]; p = 1; r = 2
i = 1; l = ['5', 'question']
i = int(l[0])
i = 5; l = ['5', 'question']
r = {(2): ['b']}; u = 2; x = 'a'
r.setdefault(u, []).append(x)
r = {2: ['b', 'a']}; u = 2; x = 'a'
e = [0, 1, 2, 4, 8, 16, 32, 64, 128, 256, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; k = 10
e[k] = e[k - 1] * 2
e = [0, 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; k = 10
l = 30; v = 40
z = v - l
l = 30; v = 40; z = 10
a = [6, 5, 8, 4, 7, 10, 9]; b = 6; i = 1
b = a[i]
a = [6, 5, 8, 4, 7, 10, 9]; b = 5; i = 1
m = '2'; n = '2'
m, n = [int(m), int(n)]
m = 2; n = 2
v = [1]
v.append(0)
v = [1, 0]
p = "[A-Z0-9.,;:`~!#\\|$@%^&*{}()?<>/_=+']+"; z = "[A-Z0-9.,;:`~!#\\|$@%^&*{}()?<>/_=+']+"
z = p
p = "[A-Z0-9.,;:`~!#\\|$@%^&*{}()?<>/_=+']+"; z = "[A-Z0-9.,;:`~!#\\|$@%^&*{}()?<>/_=+']+"
g = [[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, 0, 0, 0, 0]]; h = [1, 2, 3, 4, 10, 20, 30, 40, 100, 200]; i = 0; j = 1
g[i][k] = abs(h[i] - h[j])
g = [[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, 0, 0, 0, 0]]; h = [1, 2, 3, 4, 10, 20, 30, 40, 100, 200]; i = 0; j = 1; k = True
m = 25.0; p = 26.5
m += p
m = 51.5; p = 26.5
i = ['h', 'k', 'q']
i = ''.join(i)
i = 'hkq'
t = 100
t = t // 2
t = 50
f = ['a']; i = 98
f.append(chr(i))
f = ['a', 'b']; i = 98
a = 123456; r = 4294967291
r = a ^ (1 << 32) - 1
a = 123456; r = 4294843839
j = 112
j += 1
j = 113
i = 1; q = 'ABABABAB'; v = 'B'
v = q[i]
i = 1; q = 'ABABABAB'; v = 'B'
m = [-22, -21, -21, -20, -20, -19, -19, -18, -18, -17, 106, 107, 107, 108, 108, 109, 110, 111, 112]
list.pop(m, 0)
m = [-21, -21, -20, -20, -19, -19, -18, -18, -17, 106, 107, 107, 108, 108, 109, 110, 111, 112]
b = 'AABBC'; i = 0
y = b[i + 1] if i + 1 in range(len(b)) else ''
b = 'AABBC'; i = 0; y = 'A'
d = 170; i = 3; k = 3; l = [10, 20, 30, 100, 200, 300, 1000]
d = l[i + k - 1] - l[i]
d = 200; i = 3; k = 3; l = [10, 20, 30, 100, 200, 300, 1000]
i = 6; m = 2
m = i % 8
i = 6; m = 6
p = [0, 1, 1, 2, 3, 5, 8, 267914296, 433494437, 701408733, 1134903170, 1836311903, 2971215073, 4807526976]
p.append(p[-1] + p[-2])
p = [0, 1, 1, 2, 3, 5, 8, 267914296, 433494437, 701408733, 1134903170, 1836311903, 2971215073, 4807526976, 7778742049]
f = [1, 2, 3, 4, 10, 20, 30, 40, 100, 200]; g = [1, 2]; p = 3; q = 3
g = f[p:q + 1]
f = [1, 2, 3, 4, 10, 20, 30, 40, 100, 200]; g = [4]; p = 3; q = 3
i = 'e'; w = {'h': 1}
w[i] = 1
i = 'e'; w = {'h': 1, 'e': 1}
b = '_'; u = {'B', '_', 'C', 'A'}
u = set(list(b))
b = '_'; u = {'_'}
g = -3
g -= 1
g = -4
j = 22
j -= 1
j = 21
i = 3; t = [['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']]; y = 'k'
y = t[i][0]
i = 3; t = [['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']]; y = 'p'
b = 'ifailuhkqq'; d = 'hkqq'; i = 4; j = 0
d = ''.join(sorted(b[j:j + i + 1]))
b = 'ifailuhkqq'; d = 'afiil'; i = 4; j = 0
x = 5; y = 2
x, y = y, x % y
x = 2; y = 1
g = ['0', '0', '1', '1']; n = 4
g[i] = max(g[i], g[n - 1 - i])
g = ['1', '0', '1', '1']; i = False; n = 4
b = [(0, 'ab'), (6, 'cd'), (0, 'ef')]; d = '6'; z = 'gh'
b.append((int(d), z))
b = [(0, 'ab'), (6, 'cd'), (0, 'ef'), (6, 'gh')]; d = '6'; z = 'gh'
g = 2
g = g + 1
g = 3
b = 386856262276681335905976320
b <<= 1
b = 773712524553362671811952640
n = 2; s = {1}
n = len(s)
n = 1; s = {1}
b = 26; h = [1, 91]
b = h[1]
b = 91; h = [1, 91]
s = ['h', 'a', 'c', 'k', 'e', 'r', 'h', 'a', 'p', 'p', 'y']
s.pop(0)
s = ['a', 'c', 'k', 'e', 'r', 'h', 'a', 'p', 'p', 'y']
i = [9, 7, 5, 3, 1]; k = 3
del i[:k]
i = [3, 1]; k = 3
n = 1.0000000000000002e-14; x = 1.1111111111111
x += n % 10
n = 1.0000000000000002e-14; x = 1.11111111111111
m = 2; w = [1, 2, 3, 3, 2]
w[m] = w[m - 1]
m = 2; w = [1, 2, 2, 3, 2]
f = 1019; i = 10
f = f ^ 1 << i
f = 2043; i = 10
i = 4; j = 2; o = [1, 2, 2, 3, 2, 1]
o[i] = o[j] + 1
i = 4; j = 2; o = [1, 2, 2, 3, 3, 1]
n = 7
m = n // 2 + 1
m = 4; n = 7
x = [0, '-']
v.append(x)
v = [[0, '-']]; x = [0, '-']
d = 0.0012000000000000001; j = 0.00012000000000000002
d = j % 10.0
d = 0.00012000000000000002; j = 0.00012000000000000002
p = 'U'
h += 1 if p == 'U' else -1
h = 68; p = 'U'
a = '0001'; n = 3
n = len(a)
a = '0001'; n = 4
z = 1.0842021724855044e-18
z /= 2
z = 5.421010862427522e-19
i = 1; j = 1; q = [2, 5, 1, 3, 4]
j = q[i] - (i + 1)
i = 1; j = 3; q = [2, 5, 1, 3, 4]
e = 0; j = -2; s = 'e-d-'; z = 'abcdefghijklmnopqrstuvwxyz'
s += z[e + abs(j)]
e = 0; j = -2; s = 'e-d-c'; z = 'abcdefghijklmnopqrstuvwxyz'
e = 1910708
e >>= 1
e = 955354
c = {(0): 1, (3): 4}; i = 4; j = 2
c[j] = i
c = {0: 1, 3: 4, 2: 4}; i = 4; j = 2
f = [1, 2, 1, 0, 0, 0, 0, 0, 0, 0]; i = 3; z = [2, 4, 2, 6, 1, 7, 8, 9, 2, 1]
f[i] = f[i - 1] + 1 if z[i] > z[i - 1] else 1
f = [1, 2, 1, 2, 0, 0, 0, 0, 0, 0]; i = 3; z = [2, 4, 2, 6, 1, 7, 8, 9, 2, 1]
g = 10; h = 5; n = 5
h = n ** 2 - 4 * g
g = 10; h = -15; n = 5
d = {(5): 0}; f = 10; v = 1
d[f] = v
d = {5: 0, 10: 1}; f = 10; v = 1
a = {(1): 1, (2): 1, (4): 1, (8): 1}; k = [7, 6, 4]
a[k[0]] = 1
a = {1: 1, 2: 1, 4: 1, 8: 1, 7: 1}; k = [7, 6, 4]
b = 8; x = '8'
b = int(x) + 1
b = 9; x = '8'
c = 4; i = 6; q = [10, 5, 20, 20, 4, 5, 2, 25, 1]
c = q[i]
c = 2; i = 6; q = [10, 5, 20, 20, 4, 5, 2, 25, 1]
o = 421
o //= 10
o = 42
c = 6; r = {(1): 100, (2): 200, (3): 100, (4): 500, (5): 100}; w = [100, 200, 100, 500, 100, 600]
r[c] = w[c - 1]
c = 6; r = {1: 100, 2: 200, 3: 100, 4: 500, 5: 100, 6: 600}; w = [100, 200, 100, 500, 100, 600]
a = [-7330761, -6461594, -3916237, -3620601, -357920, -520, -470, -20, 30, 266854, 6246457, 7374819]; b = 6246457; i = 10
b = a[i + 1]
a = [-7330761, -6461594, -3916237, -3620601, -357920, -520, -470, -20, 30, 266854, 6246457, 7374819]; b = 7374819; i = 10
g = [[], [], [], [], []]; n = [1, 2]
g[n[0]].append(n[1])
g = [[], [2], [], [], []]; n = [1, 2]
a = '2'
a = int(a)
a = 2
s = 'lmno'
s = [x for x in s.lower()]
s = ['l', 'm', 'n', 'o']
t = {'p', 'l', 'a', 'u', 'q', 'y', 'n', 'r', 'e', 'd', 'm', 'j', 'w', 'i', 'o', 'v', 't', 'g', 'b'}; u = 'c'
t.add(u)
t = {'t', 'c', 'l', 'j', 'p', 'w', 'i', 'y', 'd', 'v', 'e', 'r', 'm', 'o', 'a', 'q', 'u', 'n', 'g', 'b'}; u = 'c'
g = 1000000001; i = 1; n = ['1000000001', '1000000002', '1000000003', '1000000004', '1000000005']
g = g + int(n[i])
g = 2000000003; i = 1; n = ['1000000001', '1000000002', '1000000003', '1000000004', '1000000005']
c = [0, -1, -1, -1]; r = 6, 1
c[r[1]] = r[0]
c = [0, 6, -1, -1]; r = (6, 1)
i = 2; l = 1; v = [1, 0, 0, 0, 0]
v[l] = i + 1
i = 2; l = 1; v = [1, 3, 0, 0, 0]