start
stringlengths
5
368
code
stringlengths
5
143
end
stringlengths
5
527
h = [(7.5, 1), (7.7, 2), (7.9, 3), (8.1, 4), (8.3, 5)]; i = 3; s = [1, 2, 3]
s.append(h[i][1])
h = [(7.5, 1), (7.7, 2), (7.9, 3), (8.1, 4), (8.3, 5)]; i = 3; s = [1, 2, 3, 4]
j = 3
t = j % 2 == 1
j = 3; t = True
i = 1; s = 'baba'; v = 'aabc'
v = s[:i - 1] + s[i] + s[i - 1] + s[i + 1:]
i = 1; s = 'baba'; v = 'abba'
a = 3; e = 3; r = 4
r += 2 ** (e - a)
a = 3; e = 3; r = 5
e = [1, {'a': [1, {...}]}]
e[0] += 1
e = [2, {'a': [1, {Ellipsis}]}]
i = 1; n = 1
i = n // 2
i = 0; n = 1
e = 123; i = 7; x = 0
e += 2 ** i * (1 - x % 2)
e = 251; i = 7; x = 0
f = [1, 1, 1, 2, 1, 1, 1]
f.append(1)
f = [1, 1, 1, 2, 1, 1, 1, 1]
k = [3, 3, 3, 4]; y = 4
k.remove(y)
k = [3, 3, 3]; y = 4
a = 'e'; b = 'e'
w.append([a, b])
a = 'e'; b = 'e'; w = [['e', 'e']]
m = [[1, 2], [3, 4]]; u = 'transpose'
p = getattr(m, u, None)
m = [[1, 2], [3, 4]]; p = None; u = 'transpose'
c = 2; k = 100
q = k * c
c = 2; k = 100; q = 200
b = ['1', '1', '3']; e = ['M', '2', '3']; l = {'1': 2, '2': 0, '3': 1}
l[b[int(e[1]) - 1]] += 1
b = ['1', '1', '3']; e = ['M', '2', '3']; l = {'1': 3, '2': 0, '3': 1}
c = 'n'; k = [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]
k[ord(c) - ord('a')] += 1
c = 'n'; k = [0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
t = [[2, 2, 2, 2, 2, 2]]; y = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'h', 'g', 'f', 'e', 'd', 'e', 'c', 'b', 'a']
y = t[0] if t else None
t = [[2, 2, 2, 2, 2, 2]]; y = [2, 2, 2, 2, 2, 2]
e = 3; s = {2, 4, 5, 6}
s.add(e)
e = 3; s = {2, 3, 4, 5, 6}
q = 99911; y = 999100
q = y
q = 999100; y = 999100
j = 24157817; k = 39088169
k = j + k
j = 24157817; k = 63245986
a = 1; e = 2
a = e
a = 2; e = 2
c = '7'; i = 0; j = 0
j = len(c) - i - 1
c = '7'; i = 0; j = 0
a = 'abcdefghijklmnopqrstuvwxyz'; b = 1; c = 'okffng-Qwv'
c += a[b]
a = 'abcdefghijklmnopqrstuvwxyz'; b = 1; c = 'okffng-Qwvb'
o = 3
t.append(o)
o = 3; t = [3]
a = 38120; h = [4978, 11735, 14216, 14470, 38120, 51135, 64630, 67060, 73429, 99233]; i = 5
a = h[i]
a = 51135; h = [4978, 11735, 14216, 14470, 38120, 51135, 64630, 67060, 73429, 99233]; i = 5
y = 0
y += 1
y = 1
l = [4, 9]; s = ['2', '4']
l.remove(int(s[1]))
l = [9]; s = ['2', '4']
v = 'gc'
v = list(v)
v = ['g', 'c']
k = []; w = 'c'
k.append(w)
k = ['c']; w = 'c'
i = 9; k = 36; o = [3, 4, 21, 36, 10, 28, 35, 5, 24, 42]
k = o[i]
i = 9; k = 42; o = [3, 4, 21, 36, 10, 28, 35, 5, 24, 42]
a = 4; b = -1; i = 1; p = {(1): [2, 3]}
p[i + 1] = [a, b]
a = 4; b = -1; i = 1; p = {1: [2, 3], 2: [4, -1]}
i = 1; j = [(1, 9)]; p = ['4', '2']
j.append((i + 1, int(p[0]) + int(p[1])))
i = 1; j = [(1, 9), (2, 6)]; p = ['4', '2']
a = 9; i = '3'
a += ord(i) - ord('0')
a = 12; i = '3'
i = 1; p = [0, 0, 2, 2, 0]
i = p[i]
i = 0; p = [0, 0, 2, 2, 0]
y = 2; z = 3
q = abs(z - y)
q = 1; y = 2; z = 3
i = 0; z = 5
i = (i + 1) % z
i = 1; z = 5
o = 17; p = 30; w = 28
a = [o, w, p]
a = [17, 28, 30]; o = 17; p = 30; w = 28
f = {'a': 2, 'b': 2}; s = 'ab'
f[s] = 1
f = {'a': 2, 'b': 2, 'ab': 1}; s = 'ab'
i = 3; x = [2, 2, 2, 2, 2, 1, 1, 1, 1]
x[i] = 0
i = 3; x = [2, 2, 2, 0, 2, 1, 1, 1, 1]
b = 3; p = 2
b -= p
b = 1; p = 2
a = 4194303; i = 22
a |= 1 << i
a = 8388607; i = 22
t = 't'; u = 'In the third category he included those Bro'
u += t
t = 't'; u = 'In the third category he included those Brot'
c = (0, 0, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); h = 5868894011261529223
h = hash(c)
c = (0, 0, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); h = 2948891697586240910
c = 1; i = 3
c = i
c = 3; i = 3
a = [1, 4, 5, 3, 2]; i = 2; l = {(1): 0, (4): 1}
l[a[i]] = i
a = [1, 4, 5, 3, 2]; i = 2; l = {1: 0, 4: 1, 5: 2}
e = 11; n = 4
e += 1 << n
e = 27; n = 4
m = '6'
m = int(m)
m = 6
f = ['{', '{', '[']; n = '['
f.append(n)
f = ['{', '{', '[', '[']; n = '['
f = {(0): 0, (1): 0, (2): 0, (3): 0, (4): 0, (5): 0, (6): 0, (7): 0, (8): 0, (9): 0, (10): 0, (11): 0, (12): 0, (13): 0, (14): 0}; i = 15
f[i] = 0
f = {0: 0, 1: 0, 2: 0, 3: 0, 4: 0, 5: 0, 6: 0, 7: 0, 8: 0, 9: 0, 10: 0, 11: 0, 12: 0, 13: 0, 14: 0, 15: 0}; i = 15
p = ( 'I came from the moon. He went to the other room. She went to the drawing room. ' )
z = [gram.split('.')[0].lower() for gram in p.split(' ')]
p = 'I came from the moon. He went to the other room. She went to the drawing room. '; z = ['i', 'came', 'from', 'the', 'moon', 'he', 'went', 'to', 'the', 'other', 'room', 'she', 'went', 'to', 'the', 'drawing', 'room', '']
l = [1, 2]; s = 1; w = 1
s = (l[w // 2] + l[w // 2 + 1]) / 2
l = [1, 2]; s = 1.5; w = 1
p = [[(1, 3), (2, 4)], [(0, 3), (3, 6), (4, 2), (2, 5)], [(0, 4)], [(1, 6)], [(1, 2)]]; r = 5; x = 2; y = 3
p[y - 1].append((x - 1, r))
p = [[(1, 3), (2, 4)], [(0, 3), (3, 6), (4, 2), (2, 5)], [(0, 4), (1, 5)], [(1, 6)], [(1, 2)]]; r = 5; x = 2; y = 3
i = 5; j = 1
i += int(j)
i = 6; j = 1
j = '99'; y = '100'
j = y
j = '100'; y = '100'
a = [33, 59, 79]; n = 25683.0
n = n + a[0] ** 2
a = [33, 59, 79]; n = 26772.0
i = 5; j = 8; q = 'ifailuhkqq'; s = ['i', 'if', 'ifa', 'ifai', 'ifail', 'ifailu', 'ifailuh', 'luh', 'luhk', 'luhkq', 'luhkqq', 'u', 'uh']
s.append(q[i:j])
i = 5; j = 8; q = 'ifailuhkqq'; s = ['i', 'if', 'ifa', 'ifai', 'ifail', 'ifailu', 'ifailuh', 'luh', 'luhk', 'luhkq', 'luhkqq', 'u', 'uh', 'uhk']
m = 2; t = 1
m += t
m = 3; t = 1
g = [[], [2, 8], [3, 1], [2], [], [], [8], [8, 4], [1, 6, 7]]; x = 7; y = 4
g[y].append(x)
g = [[], [2, 8], [3, 1], [2], [7], [], [8], [8, 4], [1, 6, 7]]; x = 7; y = 4
i = 2; k = 0
k = i
i = 2; k = 2
m = [0, -1, 2, 1]; x = [-1, -3]
x = [j for j in m if j <= 0]
m = [0, -1, 2, 1]; x = [0, -1]
i = 0; j = 2; s = ['1', '2', '3', '4']; x = [['1', '2']]
x[i].append(s[j])
i = 0; j = 2; s = ['1', '2', '3', '4']; x = [['1', '2', '3']]
e = 'ifailuhkqq'; i = 4; j = 5; s = ['h', 'k', 'l', 'u']
s = list(e[j:j + i])
e = 'ifailuhkqq'; i = 4; j = 5; s = ['u', 'h', 'k', 'q']
i = 1; l = 2; n = ['3\n', '2 3\n', '-1 -1\n', '-1 -1\n', '2\n', '1\n', '1\n', '\n', '\n', '\n']; r = 3
l, r = [int(i) for i in n[i + 1].strip().split(' ')]
i = 1; l = -1; n = ['3\n', '2 3\n', '-1 -1\n', '-1 -1\n', '2\n', '1\n', '1\n', '\n', '\n', '\n']; r = -1
f = [1, 2, 4, 3, 5, 6]; q = [1, 2, 4, 3, 5, 6]
f = list(q)
f = [1, 2, 4, 3, 5, 6]; q = [1, 2, 4, 3, 5, 6]
a = [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, 0]; z = 101
a[z - 97] += 1
a = [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, 0]; z = 101
c = ['POTATO CHIPS', '30']; k = 'APPLE JUICE 10'
c = k.rsplit(' ', maxsplit=1)
c = ['APPLE JUICE', '10']; k = 'APPLE JUICE 10'
z = 12
z += 1
z = 13
c = 9; j = 2; n = 2; s = '99100'
c = int(s[j:n + j])
c = 10; j = 2; n = 2; s = '99100'
b = 22.11491303583002; e = 0.4229826071660036
b += e
b = 22.537895642996023; e = 0.4229826071660036
e = 'bb'; i = 2; s = 'abba'; u = 2
e = ''.join(sorted(s[i:i + u]))
e = 'ab'; i = 2; s = 'abba'; u = 2
e = 'a', 'a'; q = 3
q += int('a' in e)
e = ('a', 'a'); q = 4
l = 1.2; p = 2
p = p + l % 10
l = 1.2; p = 3.2
d = [0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 1, 0, 1, 1, 0, 0, 1, 1, 2, 2, 0, 3, 2, 1, 1, 0, 1, 1, 1, 0, 2, 2]; q = 9
d[q] -= 1
d = [0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 0, 0, 1, 1, 2, 2, 0, 3, 2, 1, 1, 0, 1, 1, 1, 0, 2, 2]; q = 9
b = 7; j = 4; s = 11
s = b + j
b = 7; j = 4; s = 11
h = 15; m = 32; n = '11111111111111111111111111111011'; t = 4294836224
t = t + int(n[h]) * 2 ** (m - h - 1)
h = 15; m = 32; n = '11111111111111111111111111111011'; t = 4294901760
i = 4; v = [1, 3, 4, 5, 6, 2]
v[i + 1] = v[i]
i = 4; v = [1, 3, 4, 5, 6, 6]
i = 1; j = 2; s = 'ifailuhkqq'; x = 'ifailuhkqq'
x = s[i:j]
i = 1; j = 2; s = 'ifailuhkqq'; x = 'f'
c = 2; r = 3
r *= c
c = 2; r = 6
g = 43900.6; i = 38120; n = 8660239228.32
n += (i - g) ** 2
g = 43900.6; i = 38120; n = 8693654564.68
b = 5; i = 2; y = [2, 5, 7, 8, 20]
b = y[i]
b = 7; i = 2; y = [2, 5, 7, 8, 20]
c = 4; l = [2]
l.append(c)
c = 4; l = [2, 4]
s = 5; y = {1, 3, 4}
y.add(s)
s = 5; y = {1, 3, 4, 5}
o = {(0): 5, (1): 4}; t = 1, 0
o[t[1]] += 1
o = {0: 6, 1: 4}; t = (1, 0)
i = 12; y = '11'
y = str(i)
i = 12; y = '12'
b = 'eegeek'; f = 8; p = 1; v = 'eegeek'
b = v[p:f]
b = 'egeek'; f = 8; p = 1; v = 'eegeek'
i = 3; m = [2, 4]; z = [2, 4, 3, 7, 4, 5]
m.append(z[i])
i = 3; m = [2, 4, 7]; z = [2, 4, 3, 7, 4, 5]
h = {(9): False, (7): False, (8): False, (12): False, (5): False, (1): True, (2): True, (3): True, (4): True, (6): True}; s = 8
h[s] = True
h = {9: False, 7: False, 8: True, 12: False, 5: False, 1: True, 2: True, 3: True, 4: True, 6: True}; s = 8
e = ['c', 'd', 'c', 'd', 'c', 'd', 'c', 'd', 'e', 'e', 'e', 'e', 'f']; i = 1; y = {'c': 1}
y[e[i]] = 1
e = ['c', 'd', 'c', 'd', 'c', 'd', 'c', 'd', 'e', 'e', 'e', 'e', 'f']; i = 1; y = {'c': 1, 'd': 1}
i = 3; v = 'A'; z = 'AAABBB'
v = z[i]
i = 3; v = 'B'; z = 'AAABBB'
a = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101]; n = 3; t = 30
t = t * a[n]
a = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101]; n = 3; t = 210
b = 510510; x = 19
b = b * x
b = 9699690; x = 19
e = 'a'; q = 6; s = 'beabeefeab'
e = s[q]
e = 'f'; q = 6; s = 'beabeefeab'
r = ['1', '0', '3']; x = 1
x = int(r[1])
r = ['1', '0', '3']; x = 0
j = 7
j += 1
j = 8
j = 1; n = [[2, 6], [4, 4], [1, 4], [5, 7], [3, 11]]; t = 9
n[j + 1][1] = t
j = 1; n = [[2, 6], [4, 4], [1, 9], [5, 7], [3, 11]]; t = 9
q = 1; v = 3
v += q
q = 1; v = 4
a = 11; b = 15; c = 7
c = a ^ b
a = 11; b = 15; c = 4
i = 56; x = 84
i = x
i = 84; x = 84
i = 1; l = 1; s = [1, 1, 2, 3]
l += len(s) - 1 - i
i = 1; l = 3; s = [1, 1, 2, 3]
i = 2; q = [2, 1, 5, 3, 4]
q[i], q[i + 1] = q[i + 1], q[i]
i = 2; q = [2, 1, 3, 5, 4]
c = 'zxc'; n = 0; x = 'acxz'
c += x[n]
c = 'zxca'; n = 0; x = 'acxz'
d = [2, 2, 2, 2, 3, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
d.remove(0)
d = [2, 2, 2, 2, 3, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]