start
stringlengths
5
368
code
stringlengths
5
143
end
stringlengths
5
527
a = 7; h = [0]
h += [a]
a = 7; h = [0, 7]
x = 'B'
k = type(x)
k = <class 'str'>; x = 'B'
h = array([[1, 3], [2, 4]]); l = set(); t = 140522771508560, 140523231839488
l.add(t)
h = array([[1, 3], [2, 4]]); l = {(140522771508560, 140523231839488)}; t = (140522771508560, 140523231839488)
a = ['c', 'd', 'e']
a.pop(i)
a = ['c', 'e']; i = True
i = [0, 1, 2, 3, 1002]; s = [0, 1, 0, 0, 0]
s[2] = i[2]
i = [0, 1, 2, 3, 1002]; s = [0, 1, 2, 0, 0]
g = 2.5599999999999984e-06; w = 6.249996800000001
w += g
g = 2.5599999999999984e-06; w = 6.249999360000001
i = 3; y = 6
y = i
i = 3; y = 3
e = 3486961548; i = 4; m = 'ifailuhkqq'; w = 2
e -= (w + 1) ** (ord(m[i]) - ord('a'))
e = 3486784401; i = 4; m = 'ifailuhkqq'; w = 2
i = 'g'; j = [0, 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]
j[ord(i) - 97] -= 1
i = 'g'; 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]
b = '__'; d = {'_': 1}; i = 1
d[b[i]] += 1
b = '__'; d = {'_': 2}; i = 1
d = {(0): 1, (1): 2, (2): 2, (3): 3}; i = 3; m = 3
d[i] = m
d = {0: 1, 1: 2, 2: 2, 3: 3}; i = 3; m = 3
p = '([0-9])-?\\1-?\\1-?\\1'; q = '([0-9])-?\\1-?\\1-?\\1'
q = p
p = '([0-9])-?\\1-?\\1-?\\1'; q = '([0-9])-?\\1-?\\1-?\\1'
i = 0; j = []; v = 4
j.append((i, v + 1))
i = 0; j = [(0, 5)]; v = 4
r = OrderedDict([('bcdef', 1), ('abcdefg', 1)]); x = 'bcde'
r[x] = 1
r = OrderedDict([('bcdef', 1), ('abcdefg', 1), ('bcde', 1)]); x = 'bcde'
e = 16
c += e
c = 108; e = 16
j = '1111111111111111111111111111101'
j = j + '1'
j = '11111111111111111111111111111011'
s = 0
a = [int(digit) for digit in str(s)]
a = [0]; s = 0
k = 1
h = k + 1
h = 2; k = 1
i = 5; t = 6; x = [1, 3, 4, 5, 6, 2]
t = x[i]
i = 5; t = 2; x = [1, 3, 4, 5, 6, 2]
i = 53; p = 1000000007; r = [1, 1, 2, 6, 24, 120, 720, 741412713, 846397273, 627068824, 726372166, 318608048, 249010336, 948537388]
r.append(r[-1] * i % p)
i = 53; p = 1000000007; r = [1, 1, 2, 6, 24, 120, 720, 741412713, 846397273, 627068824, 726372166, 318608048, 249010336, 948537388, 272481214]
f = 2; i = 2; p = 5; q = [0, 0, 0, 0, 0, 0]; v = [0, 1, 1, 1, 999]
f = max(f, v[i] + v[i + 1] + v[i + 2] + q[min(i + 3, p)])
f = 1001; i = 2; p = 5; q = [0, 0, 0, 0, 0, 0]; v = [0, 1, 1, 1, 999]
b = ['e', 'd', 'c', 'b', 'a', 'b']; g = 5; i = 5; j = 2
b.append(alphabets[g - i + j])
b = ['e', 'd', 'c', 'b', 'a', 'b', 'D']; g = 5; i = 5; j = 2; r = 'OvDc13BsQce6p'
j = 0; l = 10
j = l
j = 10; l = 10
x = 5; z = '4'
z = str(x)
x = 5; z = '5'
h = 5; v = 'ABABABAB'
h = len(v)
h = 8; v = 'ABABABAB'
a = 7; b = [9, 8, 7]; i = 1
a = b[i]
a = 8; b = [9, 8, 7]; i = 1
d = '11111101111'
d += '0'
d = '111111011110'
n = 1
h = n // 4
h = 0; n = 1
i = 0; n = 4
m = [(0) for i in range(n)]
i = 0; m = [0, 0, 0, 0]; n = 4
n = [1, 1, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1]; x = 1; y = 2
n.append(abs(int(x) - int(y)))
n = [1, 1, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 1]; x = 1; y = 2
q = 1.2000000000000006e-37
q = q / 10
q = 1.2000000000000006e-38
e = [True, False, False, False, False]; p = 1
e[p] = True
e = [True, True, False, False, False]; p = 1
f = deque([4, 3, 2, 1, 3, 4])
x = f[-1]
f = deque([4, 3, 2, 1, 3, 4]); x = 4
x = [7, 8, 4, 1]; y = [2, 3, 6, 5]
x.extend(y)
x = [7, 8, 4, 1, 2, 3, 6, 5]; y = [2, 3, 6, 5]
u = 4
u += 2
u = 6
i = 3; j = 2; t = [2, 5, 3, 6]; x = 0; z = [[1, 1, 1, 1], [0, 0, 0, 0], [1, 1, 1, 1], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0]]
x = z[i - t[j]][j] if i - t[j] >= 0 else 0
i = 3; j = 2; t = [2, 5, 3, 6]; x = 1; z = [[1, 1, 1, 1], [0, 0, 0, 0], [1, 1, 1, 1], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0]]
c = {0, 1, 4}; j = 2
c.add(j)
c = {0, 1, 2, 4}; j = 2
c = 'world'; r = 'hi'
r = c
c = 'world'; r = 'world'
d = {'a': 0, 'b': 0, 'c': 0, 'd': 0, 'e': 0, 'f': 0}; i = 'g'
d[i] = 0
d = {'a': 0, 'b': 0, 'c': 0, 'd': 0, 'e': 0, 'f': 0, 'g': 0}; i = 'g'
k = 3; n = 6
k = n.bit_length()
k = 3; n = 6
f = 295636; s = 50
f = s
f = 50; s = 50
j = 6; l = ['moon', 'he', 'went']; x = ['came', 'from', 'the', 'moon', 'he', 'went', 'to', 'went', 'to', 'the', 'drawing', 'room', '']
l = x[j:j + 3]
j = 6; l = ['to', 'went', 'to']; x = ['came', 'from', 'the', 'moon', 'he', 'went', 'to', 'went', 'to', 'the', 'drawing', 'room', '']
u = 10; w = {}
w[u] = 0
u = 10; w = {10: 0}
k = {(0): 2, (2): 1}; x = 2
k[x] += 1
k = {0: 2, 2: 2}; x = 2
e = 3; t = [1, 1, 1, 0, 0]
t[e] = 1
e = 3; t = [1, 1, 1, 1, 0]
i = 1; j = 1; k = '10'
j = len(k) - i - 1
i = 1; j = 0; k = '10'
a = [[1, 1, 1, 0, 0, 0], [0, 1, 0, 0, 0, 0], [1, 1, 1, 0, 0, 0], [0, 0, 2, 4, 4, 0], [0, 0, 0, 2, 0, 0], [0, 0, 1, 2, 4, 0]]; e = 1; k = 4; t = 0
t = a[k + 1][e + 1]
a = [[1, 1, 1, 0, 0, 0], [0, 1, 0, 0, 0, 0], [1, 1, 1, 0, 0, 0], [0, 0, 2, 4, 4, 0], [0, 0, 0, 2, 0, 0], [0, 0, 1, 2, 4, 0]]; e = 1; k = 4; t = 1
a = [8, 5, 2]; d = 8; i = 1; j = 0; r = [3, 1]
d = r[i] + a[j]
a = [8, 5, 2]; d = 9; i = 1; j = 0; r = [3, 1]
z = 45
z += 1
z = 46
i = 3; p = '1'; s = '1234'
p = s[0:i]
i = 3; p = '123'; s = '1234'
f = 9223372036854775807; l = 4
f = l
f = 4; l = 4
n = 4
n %= 2
n = 0
a = [5, 8, 14]; i = 8; j = 1; n = [[3, 8]]
n.append([abs(a[j] - i), i])
a = [5, 8, 14]; i = 8; j = 1; n = [[3, 8], [0, 8]]
a = [34, 21, 21, 13]; b = [34, 21, 21, 13]; l = 1000000007; p = [0, 0, 0, 0]
p[0] = (a[0] * b[0] + a[1] * b[2]) % l
a = [34, 21, 21, 13]; b = [34, 21, 21, 13]; l = 1000000007; p = [1597, 0, 0, 0]
k = 3; m = '33333'
m = '5' * k + m
k = 3; m = '55533333'
i = 2; j = 3; s = ['h', 'e', 'f', 'g']
s[i], s[j] = s[j], s[i]
i = 2; j = 3; s = ['h', 'e', 'g', 'f']
i = 3; q = 2
q = i
i = 3; q = 3
i = 2; k = 3; r = [1, 1, 0]
r[i % k] += 1
i = 2; k = 3; r = [1, 1, 1]
i = ['90,90,50', '90,90,10', '255,255,255']; j = 2; l = ['90', '90', '10']
l = i[j].split(',')
i = ['90,90,50', '90,90,10', '255,255,255']; j = 2; l = ['255', '255', '255']
c = 4; d = 6.0; n = 12
d = n / c
c = 4; d = 3.0; n = 12
a = 4; f = 5
f = a
a = 4; f = 4
d = 3; l = {(1): [(2, 1)], (2): [(1, 1), (3, 2), (4, 2)], (3): [(2, 2), (5, 3)], ( 4): [(2, 2)], (5): [(3, 3)]}; v = 5
l[l[v][0][0]].remove((v, d))
d = 3; l = {1: [(2, 1)], 2: [(1, 1), (3, 2), (4, 2)], 3: [(2, 2)], 4: [(2, 2)], 5: [(3, 3)]}; v = 5
a = 'ababaa'; b = 'a'; l = 2
l = min(len(a), len(b))
a = 'ababaa'; b = 'a'; l = 1
q = ['a']; s = ['h', 'e', 'g', 'f']; x = 3
q = s[x:]
q = ['f']; s = ['h', 'e', 'g', 'f']; x = 3
l = 7; s = [3, 1, 2]
l += s[0]
l = 10; s = [3, 1, 2]
f = [[0, 0, 0], [0, 0, 1], [0, 1, 0], [0, 1, 2], [0, 2, 1], [1, 2, 0], [1, 2, 1], [1, 2, 2], [2, 0, 1]]; i = 2; j = 0; k = 2
f.append([i, j, k])
f = [[0, 0, 0], [0, 0, 1], [0, 1, 0], [0, 1, 2], [0, 2, 1], [1, 2, 0], [1, 2, 1], [1, 2, 2], [2, 0, 1], [2, 0, 2]]; i = 2; j = 0; k = 2
m = [1, 1, 1, 1, 1, 1, 1, 1]
m.append(1)
m = [1, 1, 1, 1, 1, 1, 1, 1, 1]
a = [0.0, 4.0, 5.0]; b = [1.0, 7.0, 6.0]
m = [(j - i) for i, j in zip(a, b)]
a = [0.0, 4.0, 5.0]; b = [1.0, 7.0, 6.0]; m = [1.0, 3.0, 1.0]
i = 6; r = {'a': 1, 'b': 2, 'c': 3, 'd': 4, 'e': 5, 'f': 6}
r[letters[i]] = i + 1
h = 'DvBfVsvXCU'; i = 6; r = {'a': 1, 'b': 2, 'c': 3, 'd': 4, 'e': 5, 'f': 6, 'v': 7}
a = 196418; z = {1, 2, 3, 5, 8, 13, 144, 75025, 21, 2584, 46368, 34, 17711, 121393, 55, 1597, 10946, 4181, 89, 987, ...}
z.add(a)
a = 196418; z = {1, 2, 3, 5, 8, 13, 144, 75025, 21, 2584, 46368, 34, 17711, 121393, 55, 1597, 10946, 196418, 4181, 89, 987, Ellipsis}
a = 38; b = 48; i = 3; t = [-10000000000, 30, 38, 48, 50, 60, 10000000000]
a, b = t[i], t[i + 1]
a = 48; b = 50; i = 3; t = [-10000000000, 30, 38, 48, 50, 60, 10000000000]
f = 75025; s = 121393; t = 121393
t = f + s
f = 75025; s = 121393; t = 196418
i = 1; j = 1; u = [[1, 1, 1, 2], [1, 9, 1, 2], [1, 8, 9, 2], [1, 2, 3, 4]]
u[i][j] = 'X'
i = 1; j = 1; u = [[1, 1, 1, 2], [1, 'X', 1, 2], [1, 8, 9, 2], [1, 2, 3, 4]]
a = [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 = 'a'
a[ord(c) - ord('a')] += 1
a = [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 = 'a'
u = [1, 4, 9, 16, 25, 36, 49, 64, 81, 100, 1296, 1369, 1444, 1521, 1600, 1681, 1764, 1849, 1936, 2025]; x = 2116
u.append(x)
u = [1, 4, 9, 16, 25, 36, 49, 64, 81, 100, 1296, 1369, 1444, 1521, 1600, 1681, 1764, 1849, 1936, 2025, 2116]; x = 2116
b = '0100101010'; n = 10
c = b.count('010', 0, n)
b = '0100101010'; c = 3; n = 10
u = '0 0'
u = u.split()
u = ['0', '0']
x = 2
x //= 2
x = 1
i = 6; j = 1; n = [2, 5, 3, 6]; s = [[1, 1, 1, 1], [0, 0, 0, 0], [1, 1, 1, 1], [0, 0, 1, 1], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0]]; x = 1
x = s[i - n[j]][j] if i - n[j] >= 0 else 0
i = 6; j = 1; n = [2, 5, 3, 6]; s = [[1, 1, 1, 1], [0, 0, 0, 0], [1, 1, 1, 1], [0, 0, 1, 1], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0]]; x = 0
b = 42
b += 1
b = 43
a = 4; q = 4; x = 5.0
a = (q + x) / 2
a = 4.5; q = 4; x = 5.0
i = 1; y = 8
w = [i, y]
i = 1; w = [1, 8]; y = 8
i = 2; x = [1, 2, 3]; y = 2
y = len(x) - i
i = 2; x = [1, 2, 3]; y = 1
i = 3; s = 0; w = [999, 1, 1, 1, 0]
s = s + sum(w[i:])
i = 3; s = 1; w = [999, 1, 1, 1, 0]
e = 13082761331670030; h = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199]; j = 0
e *= h[j]
e = 26165522663340060; h = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199]; j = 0
d = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0]
d = [0] + d
d = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0]
a = 50; b = 60; l = 50.0
l = (a + b) / 2 + 1
a = 50; b = 60; l = 56.0
l = 4; r = [1.0]; x = 3
r.append(l / float(x))
l = 4; r = [1.0, 1.3333333333333333]; x = 3
b = [6, 6, 6, -1, -2]; c = [6, 6, 6, 5, 3]; i = 3
b[i] = c[i]
b = [6, 6, 6, 5, -2]; c = [6, 6, 6, 5, 3]; i = 3
i = 2; j = 1; x = ['a', 'ab', 'abc', 'b', 'bc', 'c']; y = ['a']
y.append(x[i][j])
i = 2; j = 1; x = ['a', 'ab', 'abc', 'b', 'bc', 'c']; y = ['a', 'b']
a = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z']
a = list(s)
a = ['g', 'I', 'J', 'S', 'y', '5', 'U', '4', 'q', 's', 'u']; s = 'gIJSy5U4qsu'
a = 4; b = 5; c = 0; z = [[(5, 2)], [], [(5, 0)], [], []]
z[a - 1].append((c, b - 1))
a = 4; b = 5; c = 0; z = [[(5, 2)], [], [(5, 0)], [(0, 4)], []]
u = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
u.append(0)
u = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
i = 2; t = [True, True, False]
t[i] = True
i = 2; t = [True, True, True]
g = 3
g -= 3
g = 0
s = ['i', 'f', 'a', 'i']
s.sort()
s = ['a', 'f', 'i', 'i']
j = '3'; r = '3'
j = str(int(r) + 1)
j = '4'; r = '3'
c = 7; x = 30
x *= c
c = 7; x = 210
d = [12, 5, 111, 200, 1000, 10]; j = [12, 5, 111, 200, 1000, 10]; x = 2
d.append(j[x])
d = [12, 5, 111, 200, 1000, 10, 111]; j = [12, 5, 111, 200, 1000, 10]; x = 2
o = [0, 1]
r = [o]
o = [0, 1]; r = [[0, 1]]