start
stringlengths
5
368
code
stringlengths
5
143
end
stringlengths
5
527
a = 5; f = 7; m = 8
f = abs(a - m)
a = 5; f = 3; m = 8
n = 1.6777216000000002e-17; s = 3.3554432000000005e-18; x = 5
n -= x * s
n = 0.0; s = 3.3554432000000005e-18; x = 5
z = 17
z += 1
z = 18
e = ['a', 'b', 'c', 'f', 'g', 'h', 'i', 'k', 'n', 'q', 's', 'v', 'x', 'z']; i = 'g'
e.remove(i.lower())
e = ['a', 'b', 'c', 'f', 'h', 'i', 'k', 'n', 'q', 's', 'v', 'x', 'z']; i = 'g'
k = [95.0, 84.0, 90.0]; x = [48774.0, 55710.0, 51759.0]
x[0] += k[0] * k[1]
k = [95.0, 84.0, 90.0]; x = [56754.0, 55710.0, 51759.0]
z = '11111111111'
z += '1'
z = '111111111111'
i = 114; n = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q']
n.append(chr(i))
i = 114; n = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r']
j = 3; r = [1, 1, 2, 3, 2]
r[j + 1] = r[j]
j = 3; r = [1, 1, 2, 3, 3]
x = [2, 4, 5, 6, 7, 9, 11, 12]
i = x[0]
i = 2; x = [2, 4, 5, 6, 7, 9, 11, 12]
c = [0, 0, 0]; g = [0, 0, 0]; j = 0
g[j + 1] = c[j] + 1
c = [0, 0, 0]; g = [0, 1, 0]; j = 0
n = '[789][0-9]{9}$'; p = '[789][0-9]{9}$'
n = p
n = '[789][0-9]{9}$'; p = '[789][0-9]{9}$'
i = 0; o = [0, 1, 2, 3]
o.append(i)
i = 0; o = [0, 1, 2, 3, 0]
a = '8'
a = str(int(a) + 1)
a = '9'
a = [0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; i = 'm'
a[ord(i) - 97] += 1
a = [0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; i = 'm'
k = 3; o = [[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]]; s = 2; v = 0
v = o[k + 1][s + 1]
k = 3; o = [[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]]; s = 2; v = 2
a = 1, 2, 1
a = list(a)
a = [1, 2, 1]
a = 9; d = 1; y = {0, 1, 2, 6, 7, 9}
y.add(d + a)
a = 9; d = 1; y = {0, 1, 2, 6, 7, 9, 10}
s = {'data': 2, 'left': 3, 'right': None, 'height': 2}; y = []
y.append(s)
s = {'data': 2, 'left': 3, 'right': None, 'height': 2}; y = [{'data': 2, 'left': 3, 'right': None, 'height': 2}]
f = 2; m = 2; s = [(1, 0), (1, 1), (1, 1), (1, 0), (0, 2), (0, 1), (1, 1), (1, 3), (3, 2), (3, 1), (3, 3), (2, 1)]
s.append((f, m + 1))
f = 2; m = 2; s = [(1, 0), (1, 1), (1, 1), (1, 0), (0, 2), (0, 1), (1, 1), (1, 3), (3, 2), (3, 1), (3, 3), (2, 1), (2, 3)]
a = ['R', 'B', 'Y', '_', 'Y', 'B', 'R']; d = {'R': 1}; i = 1
d[a[i]] = 1
a = ['R', 'B', 'Y', '_', 'Y', 'B', 'R']; d = {'R': 1, 'B': 1}; i = 1
a = 1; b = [1, 2, 3, 4, 5]; i = 3; j = 1; s = {(1): 1, (2): 1, (3): 1, (4): 1, (5): 1}
a += int(s[b[i]]) * int(s[b[j]])
a = 2; b = [1, 2, 3, 4, 5]; i = 3; j = 1; s = {1: 1, 2: 1, 3: 1, 4: 1, 5: 1}
d = 8.0; l = 3.141592653589793; n = 27.0; q = 0.10840734641020688
q = abs(n / d - l)
d = 8.0; l = 3.141592653589793; n = 27.0; q = 0.23340734641020688
o = 4; w = 1, 'abc'
o = int(w[0])
o = 1; w = (1, 'abc')
b = -2; i = 0; r = [0, 3, -2]
r[i] += b
b = -2; i = 0; r = [-2, 3, -2]
c = 3; m = 2; n = 3; s = [[1, 0, 1, 1, 1, 2], [1, 0, 1, 1, 1, 2], [1, 0, 1, 1, 1, 2], [1, 0, 1, 1, 1, 2]]; y = 0
y = s[m][n - c] if n - c >= 0 else 0
c = 3; m = 2; n = 3; s = [[1, 0, 1, 1, 1, 2], [1, 0, 1, 1, 1, 2], [1, 0, 1, 1, 1, 2], [1, 0, 1, 1, 1, 2]]; y = 1
a = 'c'; y = ['a', 'ab', 'abc', 'abcd', 'b', 'bc', 'bcd']
y.append(a)
a = 'c'; y = ['a', 'ab', 'abc', 'abcd', 'b', 'bc', 'bcd', 'c']
a = 1
u = max(a, u)
a = 1; u = 1
e = ['{', '{', '[', '[', '(']
e.pop()
e = ['{', '{', '[', '[']
i = 0; j = 1; s = ['a', 'b']
s[i], s[j] = s[j], s[i]
i = 0; j = 1; s = ['b', 'a']
c = 'i'; f = {'\n': 0, 'a': 1, 'e': 1, 'i': 2, 'o': 2, 'u': 2}
f[c] -= 1
c = 'i'; f = {'\n': 0, 'a': 1, 'e': 1, 'i': 1, 'o': 2, 'u': 2}
i = 1; j = 4; s = 'ababa'; w = 'ba'
w = s[i:j]
i = 1; j = 4; s = 'ababa'; w = 'bab'
q = 34
q += 1
q = 35
k = 'd'; l = [0, 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]
l[ord(k) - ord('a')] += 1
k = 'd'; l = [0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
c = deque([[0, 0, -1, 0, 0]]); i = 2
i, j, r, q, h = c.popleft()
c = deque([]); h = 0; i = 0; j = 0; q = 0; r = -1
k = '4'; p = '3'
p = p + k
k = '4'; p = '34'
d = [0, 1]; i = 1; s = '0011'; x = [0, 0, 1, 1]
x[d[i]] = x[len(s) - 1 - d[i]]
d = [0, 1]; i = 1; s = '0011'; x = [0, 1, 1, 1]
b = ['o', 'k', 'f', 'f', 'n', 'g', '-']; t = 'Q'
b.append(t)
b = ['o', 'k', 'f', 'f', 'n', 'g', '-', 'Q']; t = 'Q'
x = 'aa'
y = len(x)
x = 'aa'; y = 2
x = 4294967296
x *= 2
x = 8589934592
b = 0; n = '1'; s = 2; t = [['0', '0', '0', '0'], ['0', '0', '0', '0'], ['0', '0', '0', '0'], ['0', '0', '0', '0']]
t[s][b] = n
b = 0; n = '1'; s = 2; t = [['0', '0', '0', '0'], ['0', '0', '0', '0'], ['1', '0', '0', '0'], ['0', '0', '0', '0']]
a = 48; i = 11; j = 60
a = i ^ j
a = 55; i = 11; j = 60
k = 3; p = 0; q = 2
k = q - p + 1
k = 3; p = 0; q = 2
a = ['Krishna', 67.0, 68.0, 69.0]; d = {'Krishna': [67.0, 68.0]}
d[a[0]].append(a[3])
a = ['Krishna', 67.0, 68.0, 69.0]; d = {'Krishna': [67.0, 68.0, 69.0]}
i = 3
p = 15 * i
i = 3; p = 45
n = 2
s = n
n = 2; s = 2
j = 2; k = 2; o = [1, 1, 1, 2, 2]; t = 0
t = o[j + k - 1] - o[j]
j = 2; k = 2; o = [1, 1, 1, 2, 2]; t = 1
c = 'b'; f = {'a'}; v = [{'a'}]
f.add(c)
c = 'b'; f = {'a', 'b'}; v = [{'a'}]
g = [1, 2, 3, 4, 3, 3, 2, 1]
x = min(g)
g = [1, 2, 3, 4, 3, 3, 2, 1]; x = 1
t = [2, 5, 4]
h = t[0]
h = 2; t = [2, 5, 4]
i = [3, 7, 8, 9]; l = [[5, 4], [3, 7, 8, 9], [5, 5, 7, 8, 9, 10]]
i.pop(0)
i = [7, 8, 9]; l = [[5, 4], [3, 7, 8, 9], [5, 5, 7, 8, 9, 10]]
i = {'a': 1, 'ab': 1, 'abb': 2, 'aabb': 1, 'b': 2, 'bb': 1}; x = 'ab'
i[x] += 1
i = {'a': 1, 'ab': 2, 'abb': 2, 'aabb': 1, 'b': 2, 'bb': 1}; x = 'ab'
i = 5; w = [1, 2, 2, 3, 3, 2]; x = 3
w[i] = max(w[i], x)
i = 5; w = [1, 2, 2, 3, 3, 3]; x = 3
f = [5, 3, 2]; i = [0, 0, 0]; u = 3
i[u - 1] = f[u - 1]
f = [5, 3, 2]; i = [0, 0, 2]; u = 3
z = 3
z = z + 1
z = 4
n = 3
w = [[] for _ in range(n + 1)]
n = 3; w = [[], [], [], []]
n = 16; q = 'd'
n ^= 1 << ord(q) - 95
n = 48; q = 'd'
e = [4]; i = 1; s = 3; y = [4, 5, 6]
e.append(y[s - 1 - i])
e = [4, 5]; i = 1; s = 3; y = [4, 5, 6]
a = 1; b = 2; k = 100
j += (b - a + 1) * k
a = 1; b = 2; j = 158; k = 100
c = 5.0; m = 2
x = c * m % 10
c = 5.0; m = 2; x = 0.0
j = 2; s = 3; z = 4
s = z - j
j = 2; s = 2; z = 4
i = 14; j = 10; y = 2
y = i ^ j
i = 14; j = 10; y = 4
a = [1, 2, 3, 4, 10, 20, 30, 40, 100, 200]; h = 26; i = 4; k = 4
h = a[i + k - 1] - a[i]
a = [1, 2, 3, 4, 10, 20, 30, 40, 100, 200]; h = 30; i = 4; k = 4
a = 'what'; c = {'e', 'a', 'b', 'u', 't', 's', 'm', 'c'}
c = c | set(a)
a = 'what'; c = {'t', 'u', 's', 'c', 'h', 'm', 'w', 'b', 'a', 'e'}
a = 24; j = [0, 7, 6, 5, 4, 27, 26, 25]
j += [a]
a = 24; j = [0, 7, 6, 5, 4, 27, 26, 25, 24]
h = '2'; i = [1]
i.append(int(h))
h = '2'; i = [1, 2]
c = 'f'; v = [2, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
v[ord(c) - 97] += 1
c = 'f'; v = [2, 2, 2, 2, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
e = [[1, 1], [2, 2], [5, 3]]; i = 2; k = 3; n = 2
n = e[k - 1 - i][1]
e = [[1, 1], [2, 2], [5, 3]]; i = 2; k = 3; n = 1
b = [(-1, -1), (-1, 0), (-1, 1), (0, -1), (0, 1), (1, -1), (0, 0), (0, 1), (0, 2), (1, 0), (1, 2), (2, 0)]; g = 2, 1
b.append(g)
b = [(-1, -1), (-1, 0), (-1, 1), (0, -1), (0, 1), (1, -1), (0, 0), (0, 1), (0, 2), (1, 0), (1, 2), (2, 0), (2, 1)]; g = (2, 1)
i = 4; j = 2; l = 'ifailuhkqq'; s = ['a', 'f', 'i', 'l']
s = list(l[j:j + i])
i = 4; j = 2; l = 'ifailuhkqq'; s = ['a', 'i', 'l', 'u']
q = '0100000010011'; s = '0'
q += '0' if s == '1' else '1'
q = '01000000100111'; s = '0'
i = 2; j = 2; q = [[1, 3, 1], [2, 1, 2], [3, 3, 3]]; s = 6
s += q[i][j]
i = 2; j = 2; q = [[1, 3, 1], [2, 1, 2], [3, 3, 3]]; s = 9
z = 15
z += 1
z = 16
o = '10'; p = '11'
o = ''.join([o, p])
o = '1011'; p = '11'
b = '000'
b += '0'
b = '0000'
l = []
n = len(l)
l = []; n = 0
u = {(203): 2}; x = 204; z = 0
u[x] = z + 1
u = {203: 2, 204: 1}; x = 204; z = 0
a = [1, 2, 3, 4, 10, 20, 30, 40, 100, 200]; i = 0; k = 4
n = a[i + k - 1] - a[i]
a = [1, 2, 3, 4, 10, 20, 30, 40, 100, 200]; i = 0; k = 4; n = 3
b = ['POTATO', 'CHIPS', '30']; y = 'CANDY'
y = ' '.join(b[:len(b) - 1])
b = ['POTATO', 'CHIPS', '30']; y = 'POTATO CHIPS'
d = 3; x = [1, 2, 3, 3]
d = len(x)
d = 4; x = [1, 2, 3, 3]
e = 3; n = 5
e = n
e = 5; n = 5
d = 9.0; i = 0.7334073464102069; n = 27.0; r = 3.141592653589793
i = abs(n / d - r)
d = 9.0; i = 0.14159265358979312; n = 27.0; r = 3.141592653589793
j = 1000000007; r = [1, 1, 2, 3, 5, 8, 13, 851432142, 435293607, 286725742, 722019349, 8745084, 730764433, 739509517]
r.append((r[-1] + r[-2]) % j)
j = 1000000007; r = [1, 1, 2, 3, 5, 8, 13, 851432142, 435293607, 286725742, 722019349, 8745084, 730764433, 739509517, 470273943]
a = 'abcdefghijklmnopqrstuvwxyz'; i = 'd'; k = 2; z = 'okf'
z += a[a.index(i) + k]
a = 'abcdefghijklmnopqrstuvwxyz'; i = 'd'; k = 2; z = 'okff'
i = 3; l = [4, 3, 5, '1', '2']
l[i] = int(l[i])
i = 3; l = [4, 3, 5, 1, '2']
c = [0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0]; m = 112
c[m - 97] = c[m - 97] + 1
c = [0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0]; m = 112
h = 16
h += 1
h = 17
i = 2; v = '3 1 '
v += str(i) + ' '
i = 2; v = '3 1 2 '
j = 1; k = 6; w = 'ba'; z = 'ababaa '
w = z[j:len(z) - k]
j = 1; k = 6; w = 'b'; z = 'ababaa '
p = 6; s = None
s = p
p = 6; s = 6
r = [12, 5, 111, 200, 1000, 10]; x = 1
m.append(r[x])
m = [5]; r = [12, 5, 111, 200, 1000, 10]; x = 1
j = 0; o = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199]; p = 510510
p *= o[j]
j = 0; o = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199]; p = 1021020
d = {'a': 0, 'b': 0, 'c': 0, 'd': 0, 'e': 0, 'f': 0, 'g': 1, 'h': 1}; i = 'f'
d[i] += 1
d = {'a': 0, 'b': 0, 'c': 0, 'd': 0, 'e': 0, 'f': 1, 'g': 1, 'h': 1}; i = 'f'
i = 2; j = 1; p = [['h', 'a', 'e'], ['a', 'n', 'd'], ['v', 0, 0], [0, 0, 0]]; u = [['h', 'a', 'v', 'e'], ['a', 'n', 'i', 'c'], ['e', 'd', 'a', 'y']]
p[i][j] = u[j][i]
i = 2; j = 1; p = [['h', 'a', 'e'], ['a', 'n', 'd'], ['v', 'i', 0], [0, 0, 0]]; u = [['h', 'a', 'v', 'e'], ['a', 'n', 'i', 'c'], ['e', 'd', 'a', 'y']]
x = 74; y = 85
y = x
x = 74; y = 74
i = 4; m = 2; x = 12
m = x // i
i = 4; m = 3; x = 12
a = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97]; i = 7; n = 510510
n = n * a[i]
a = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97]; i = 7; n = 9699690
l = [0, 6, 6, 6, 6, 6]
l[1] = 1
l = [0, 1, 6, 6, 6, 6]
a = ['i', 'fi', 'afi', 'afii', 'afiil', 'afiilu', 'ailu', 'ahilu', 'ahiklu', 'ahiklqu', 'ahiklqqu', 'i']; i = 3; j = 2; s = 'ifailuhkqq'
a.append(''.join(sorted(s[i:i + j])))
a = ['i', 'fi', 'afi', 'afii', 'afiil', 'afiilu', 'ailu', 'ahilu', 'ahiklu', 'ahiklqu', 'ahiklqqu', 'i', 'il']; i = 3; j = 2; s = 'ifailuhkqq'
d = [[0, 0, 0, 0], [0, 1, 1, 0], [0, 0, 1, 0], [1, 0, 0, 0]]; i = 1; j = 1
d[i][j] = 0
d = [[0, 0, 0, 0], [0, 0, 1, 0], [0, 0, 1, 0], [1, 0, 0, 0]]; i = 1; j = 1
i = 5; l = [9]
l.append(i)
i = 5; l = [9, 5]