start
stringlengths
5
368
code
stringlengths
5
143
end
stringlengths
5
527
c = 7; g = 0; i = [5, 5, 7]
g = i.index(c)
c = 7; g = 2; i = [5, 5, 7]
d = 3.2311742677852644e-26
d /= 2
d = 1.6155871338926322e-26
h = 0; o = '11000'
o = str(h) + o
h = 0; o = '011000'
h = {-3}; o = 3; v = [-5, -4, -3, 2, 3, 4, 5]
h.add(v[o])
h = {2, -3}; o = 3; v = [-5, -4, -3, 2, 3, 4, 5]
e = 6; k = ['b', 'e', 'b', 'e', 'e', 'e', 'b']
e = len(k)
e = 7; k = ['b', 'e', 'b', 'e', 'e', 'e', 'b']
i = 2; o = [0]
o.append(i)
i = 2; o = [0, 2]
d = [20, 30, 10]
s = sum(d)
d = [20, 30, 10]; s = 60
j = 4; l = [3, 4, 5, 6, 7, 2]
l[j] = l[j + 1]
j = 4; l = [3, 4, 5, 6, 2, 2]
e = '7'; r = 17
r += ord(e) - 48
e = '7'; r = 24
a = 0; b = -1
a = b
a = -1; b = -1
d = ['e', 'f', 'b', 'a']; j = 2
d.pop(j)
d = ['e', 'f', 'a']; j = 2
i = {'a': 1, 'ab': 1, 'abb': 1, 'aabb': 1}; j = 'b'
i[j] = 1
i = {'a': 1, 'ab': 1, 'abb': 1, 'aabb': 1, 'b': 1}; j = 'b'
q = [9, 4]; y = 0; z = 1
q[z], q[y] = q[y], q[z]
q = [4, 9]; y = 0; z = 1
a = '22'
a = int(a)
a = 22
i = 3; o = [1]
o.append(i)
i = 3; o = [1, 3]
i = 205; j = {(203): 0, (204): 0}
j[i] = 0
i = 205; j = {203: 0, 204: 0, 205: 0}
i = 0; j = [3, 1, 2]
n = j[i]
i = 0; j = [3, 1, 2]; n = 3
i = 15; w = {(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}
w[i] = 0
i = 15; w = {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 = [1, 5, 14, 30, 55]
p = i[-1] % 100
i = [1, 5, 14, 30, 55]; p = 55
a = -1; c = [3, 2]; n = 4
a = n - c[0]
a = 1; c = [3, 2]; n = 4
c = {'ab': 1, 'bc': 1, 'cd': 0}; n = 'cd'
c[n] += 1
c = {'ab': 1, 'bc': 1, 'cd': 1}; n = 'cd'
a = {1, 2}; k = 1; p = 1
a.remove(p + k)
a = {1}; k = 1; p = 1
d = [2, 4, 2, 6, 1, 7, 8, 9, 2, 1]; n = 10
n = len(d)
d = [2, 4, 2, 6, 1, 7, 8, 9, 2, 1]; n = 10
r = ["['c']", "['d']", "['c']"]; u = 'd'
r.append(str(sorted(u)))
r = ["['c']", "['d']", "['c']", "['d']"]; u = 'd'
g = [4, 5, 0]; i = 0
i = g[0] - 1
g = [4, 5, 0]; i = 3
i = 6; j = 11
j = i + 1
i = 6; j = 7
n = 6.776263578034403e-20
n /= 2
n = 3.3881317890172014e-20
k = ['GGGGGG', 'GBBBGB', 'GGGGGG', 'GGBBGB']; n = 'GGGGGG'
k.append(n)
k = ['GGGGGG', 'GBBBGB', 'GGGGGG', 'GGBBGB', 'GGGGGG']; n = 'GGGGGG'
c = 'b'; r = {'a': 2, 'b': 1}
r[c] += 1
c = 'b'; r = {'a': 2, 'b': 2}
a = [1, 4, 5, 3, 2]; i = 1; u = 1
u = a[i]
a = [1, 4, 5, 3, 2]; i = 1; u = 4
i = 1; o = [[1, 1, 1, 2], [1, 9, 1, 2], [1, 8, 9, 2], [1, 2, 3, 4]]
s = str(o[i][0])
i = 1; o = [[1, 1, 1, 2], [1, 9, 1, 2], [1, 8, 9, 2], [1, 2, 3, 4]]; s = '1'
p = 'APPLE JUICE 10'; s = OrderedDict([('BANANA FRIES 12', 1), ('POTATO CHIPS 30', 1)])
s[p] = 1
p = 'APPLE JUICE 10'; s = OrderedDict([('BANANA FRIES 12', 1), ('POTATO CHIPS 30', 1), ('APPLE JUICE 10', 1)])
f = 2; i = 0; t = 0; x = '3'
f += int(x[i]) * 2 ** t
f = 5; i = 0; t = 0; x = '3'
f = [73, 48]; m = 95
f.append(m)
f = [73, 48, 95]; m = 95
x = [5, 5, 5]
x = sorted(list(set(x)))
x = [5]
w = ['b', 'a', 'a', 'b']
r = w[:]
r = ['b', 'a', 'a', 'b']; w = ['b', 'a', 'a', 'b']
h = ['11', '2', '4']
h = [int(j) for j in h]
h = [11, 2, 4]
d = 9; n = 8
n = d
d = 9; n = 9
i = [32, 1]; n = '3'
i.append(len(n))
i = [32, 1, 1]; n = '3'
q = [2, 3]
l = q[:]
l = [2, 3]; q = [2, 3]
t = 3; x = [1, 2]
x.append(t)
t = 3; x = [1, 2, 3]
c = ['append', '9']; n = 'append 1'
c = n.split()
c = ['append', '1']; n = 'append 1'
r = 0; u = 0; y = 1
y = r + u
r = 0; u = 0; y = 0
a = 16; q = 1000000007
a = a * a % q
a = 256; q = 1000000007
i = 3; l = 3
i += l
i = 6; l = 3
p = 1.7999999999999992e-103
p /= 10
p = 1.7999999999999993e-104
c = [2, 3, 4, 5, 6]; i = 0
b = c[i]
b = 2; c = [2, 3, 4, 5, 6]; i = 0
x = ['101']
v = x[0] if x else None
v = '101'; x = ['101']
i = 8; j = 2
i += j
i = 10; j = 2
f = [1, 1]; g = [[-1, -1], [1, 1], [1, 1], [1, 1], [1, 1], [1, 1], [1, 1], [1, 1]]; j = [[-1, -1], [-1, 0], [0, -1], [1, 1], [-1, 1], [1, -1], [0, 1], [1, 0]]; y = 1
g[y] = [f[0] + j[y][0], f[1] + j[y][1]]
f = [1, 1]; g = [[-1, -1], [0, 1], [1, 1], [1, 1], [1, 1], [1, 1], [1, 1], [1, 1]]; j = [[-1, -1], [-1, 0], [0, -1], [1, 1], [-1, 1], [1, -1], [0, 1], [1, 0]]; y = 1
a = [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, 0, 0, 0, 0, 0, 0, 0]; f = 203; h = [203, 203, 204, 204, 205, 205, 206, 206, 207, 208]; i = 7
a[h[i] - f] += 1
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, 0, 0, 0, 0, 0, 0]; f = 203; h = [203, 203, 204, 204, 205, 205, 206, 206, 207, 208]; i = 7
a = ['B', 'B', 'B', 'B', 'B']; b = [66, 66, 66]; i = 3
b.append(ord(a[i]))
a = ['B', 'B', 'B', 'B', 'B']; b = [66, 66, 66, 66]; i = 3
x = [0, 0, 0, 0, 0, 0]
x.append(0)
x = [0, 0, 0, 0, 0, 0, 0]
j = 2.951171875; r = 2.46337890625
j = r
j = 2.46337890625; r = 2.46337890625
q = 'a'
d[q] = 1
d = {'a': 1}; q = 'a'
d = '3'; t = '1'
t, d = int(t), int(d)
d = 3; t = 1
c = 198; i = 0; n = [1, 2, 100]
c -= n[i]
c = 197; i = 0; n = [1, 2, 100]
e = 2; t = 1
t += e // 2
e = 2; t = 2
f = [-10, -9, -9, -8, -8, -7, -7, -6, -6, -5, -5, 106, 106, 107, 107, 108, 108, 109, 110, 111, 112]
list.pop(f, 0)
f = [-9, -9, -8, -8, -7, -7, -6, -6, -5, -5, 106, 106, 107, 107, 108, 108, 109, 110, 111, 112]
b = 1; p = [1, 0, 0, 0, 0, 1, 0]
p.append(b)
b = 1; p = [1, 0, 0, 0, 0, 1, 0, 1]
p = [[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]]; r = [1, 0, 0, 0, 1, 0, 0]; x = 0; y = 3
r.append(p[x][y])
p = [[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]]; r = [1, 0, 0, 0, 1, 0, 0, 0]; x = 0; y = 3
x = [3, 4]
del x[0]
x = [4]
i = 'aaaaaaa'; p = {'a': 1, 'aa': 1, 'aaa': 1, 'aaaa': 1, 'aaaaa': 1, 'aaaaaa': 1}
p[i] = 1
i = 'aaaaaaa'; p = {'a': 1, 'aa': 1, 'aaa': 1, 'aaaa': 1, 'aaaaa': 1, 'aaaaaa': 1, 'aaaaaaa': 1}
d = {'a': 2, 'b': 2, 'c': 1, 'd': 1, 'e': 1, 'f': 1, 'g': 1}; i = 8; s = 'abcdefgabcdefg'
d[s[i]] -= 1
d = {'a': 2, 'b': 1, 'c': 1, 'd': 1, 'e': 1, 'f': 1, 'g': 1}; i = 8; s = 'abcdefgabcdefg'
c = [1, 1, 1]; i = 3; k = 3; m = [9, 7, 5, 3, 1]; s = 21
s += m[i] * (c[i % k] + 1)
c = [1, 1, 1]; i = 3; k = 3; m = [9, 7, 5, 3, 1]; s = 27
c = {'a': 1, 'e': 1, 'i': 1, 'o': 1, 'u': 2}; e = 'u'
c[e] -= 1
c = {'a': 1, 'e': 1, 'i': 1, 'o': 1, 'u': 1}; e = 'u'
n = 7
h = [0] * n
h = [0, 0, 0, 0, 0, 0, 0]; n = 7
a = ['Anurag', '26', '28', '30']; g = 25.0
g = float(a[1])
a = ['Anurag', '26', '28', '30']; g = 26.0
j = 4; l = [3, 3, 9, 9, 5]; s = 23
s -= l[j]
j = 4; l = [3, 3, 9, 9, 5]; s = 18
s = 55
w += s
s = 55; w = 94
u = 1
u += 1
u = 2
c = '?'; s = [ ' Finally, to the fourth category also a great ma...longed, particularly those who had lately joined.' ]; u = ( " These according to Pierre's observations were m...k, and of whom there were very many in the lodge." )
s = u.split(c)
c = '?'; s = [" These according to Pierre's observations were m...k, and of whom there were very many in the lodge."]; u = " These according to Pierre's observations were m...k, and of whom there were very many in the lodge."
b = 1
b -= 1
b = 0
b = 5; l = 0; n = [-1, 4, 1, 2, 0, 3]
n[b] = l
b = 5; l = 0; n = [-1, 4, 1, 2, 0, 0]
a = '3'; i = '6'; m = '10'
b = [int(a), int(i), int(m)]
a = '3'; b = [3, 6, 10]; i = '6'; m = '10'
j = 9; t = 27
j += t
j = 36; t = 27
c = [[0, '-'], [6, '-'], [0, '-'], [6, '-'], [4, '-'], [5, 'question'], [1, 'or'], [2, 'not'], [4, 'is']]; k = ['2', 'to']
c.append([int(k[0]), k[1]])
c = [[0, '-'], [6, '-'], [0, '-'], [6, '-'], [4, '-'], [5, 'question'], [1, 'or'], [2, 'not'], [4, 'is'], [2, 'to']]; k = ['2', 'to']
d = 5; l = {(5): 1, (35): 2, (175): 1, (1225): 1, (7): 1, (245): 1}
l[d] += 1
d = 5; l = {5: 2, 35: 2, 175: 1, 1225: 1, 7: 1, 245: 1}
w = '1111111111111110'
w += '0'
w = '11111111111111100'
d = -2; i = [-3, 7, -2, 3, 5, -2]; j = 3; w = 15
w += d * i[j]
d = -2; i = [-3, 7, -2, 3, 5, -2]; j = 3; w = 9
i = [[6], [5], []]; j = [2]; x = 2
i[x].append(j.pop())
i = [[6], [5], [2]]; j = []; x = 2
k = ['3', '2']; t = 1
t = int(k[0])
k = ['3', '2']; t = 3
h = {(3): 1}; i = 3
h[i] += 1
h = {3: 2}; i = 3
c = {'a': 2, 'b': 2, 'c': 1}; s = 'd'
c[s] = 1
c = {'a': 2, 'b': 2, 'c': 1, 'd': 1}; s = 'd'
c = 1; g = 2; h = [3, 4, 1]; y = 3
g, y, c = h
c = 1; g = 3; h = [3, 4, 1]; y = 4
i = 1; r = [5, 10, 12, 111, 200, 1000]
i = r[0]
i = 5; r = [5, 10, 12, 111, 200, 1000]
c = [0, 1, 1, 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]; e = [1, 2, 3, 4, 4]; i = 3
c[e[i]] += 1
c = [0, 1, 1, 1, 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]; e = [1, 2, 3, 4, 4]; i = 3
i = 1; m = 7; v = [3, 0, 0, 0, 0]; w = [3, 3, 9, 9, 5]
v[i] = (v[i - 1] + w[i] % m) % m
i = 1; m = 7; v = [3, 6, 0, 0, 0]; w = [3, 3, 9, 9, 5]
i = 1; l = 225; t = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]
l -= t[i]
i = 1; l = 196; t = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]
b = 0.0; d = 392; x = 2
d = x * b
b = 0.0; d = 0.0; x = 2
x = 0; y = 0
u = [(x, y)]
u = [(0, 0)]; x = 0; y = 0
i = 8; n = [1, 1, 2, 6, 24, 120, 720, 5040]
n.append(n[i - 1] * i)
i = 8; n = [1, 1, 2, 6, 24, 120, 720, 5040, 40320]
d = {(1): set()}; i = 2
d[i] = set()
d = {1: set(), 2: set()}; i = 2
c = [1, '7', '2', '4']; i = 1; k = 3
c[i] = int(c[i]) % k
c = [1, 1, '2', '4']; i = 1; k = 3
b = 'AABCBC'
c.append(b[0])
b = 'AABCBC'; c = ['A']
g = 1
g += 1
g = 2
s = ['Odd']
s.append('Even')
s = ['Odd', 'Even']
d = 'ba'; m = 'b'
d += m
d = 'bab'; m = 'b'
b = [[2, 2, 3], [1, 1, 4]]; k = 5; l = 0; q = 0
b.append([q, l, k])
b = [[2, 2, 3], [1, 1, 4], [0, 0, 5]]; k = 5; l = 0; q = 0
a = 'SOSSOSSOS'
l = len(a)
a = 'SOSSOSSOS'; l = 9