start
stringlengths
5
368
code
stringlengths
5
143
end
stringlengths
5
527
a = {9, 2, 4, 5}; k = {2, 11, 4, 12}; y = {9, 5}
y.update(k.difference(a))
a = {9, 2, 4, 5}; k = {2, 11, 4, 12}; y = {9, 11, 12, 5}
c = [[0, 3, 0], [2, 2, 0], [1, 0, 0]]; i = 2; j = 1; l = 1
c[i][j] = l
c = [[0, 3, 0], [2, 2, 0], [1, 1, 0]]; i = 2; j = 1; l = 1
s = ' \n\n\n\n'
s = s.strip()
s = ''
w = 52
w += 1
w = 53
r = 48.0; v = 48.0; y = 64
r = (v + y) / 2
r = 56.0; v = 48.0; y = 64
h = 1000000007; r = [1, 1, 2, 3, 5, 8, 13, 21, 9227465, 14930352, 24157817, 39088169, 63245986, 102334155, 165580141]
r.append((r[-1] + r[-2]) % h)
h = 1000000007; r = [1, 1, 2, 3, 5, 8, 13, 21, 9227465, 14930352, 24157817, 39088169, 63245986, 102334155, 165580141, 267914296]
s = 'hellow'
s = s[0:len(s) - 1]
s = 'hello'
c = [0, 1]
c.append(c[-1] ** 2 + c[-2])
c = [0, 1, 1]
a = ['d', 'k', 'h', 'c']; j = 2; t = 'c'
t = a[j]
a = ['d', 'k', 'h', 'c']; j = 2; t = 'h'
n = 6
r = [[] for _ in range(n)]
n = 6; r = [[], [], [], [], [], []]
j = 3; x = [1, 1, 2, 3, 2]
x[j + 1] = x[j]
j = 3; x = [1, 1, 2, 3, 3]
g = 5
g = g // 2
g = 2
m = ['bcdef', 'abcdefg']; s = 'bcde'
m.append(s)
m = ['bcdef', 'abcdefg', 'bcde']; s = 'bcde'
a = 'a'; b = 't'; l = ['a', 'u']
a, b = l
a = 'a'; b = 'u'; l = ['a', 'u']
i = 0; s = 1; x = [4, 5, 7, 5]
s = len(x) - i
i = 0; s = 4; x = [4, 5, 7, 5]
j = [1, 1, -1, -1]
e = j[0] - j[2]
e = 2; j = [1, 1, -1, -1]
b = 6
b += 1
b = 7
a = 0; j = 4; q = 4
q = j - a
a = 0; j = 4; q = 4
l = [5, 7, 8, 9, 10]; s = [[25, 16], [49, 64, 81]]
s.append([pow(x, 2) for x in l])
l = [5, 7, 8, 9, 10]; s = [[25, 16], [49, 64, 81], [25.0, 49.0, 64.0, 81.0, 100.0]]
i = 18; x = 289
x = i * i
i = 18; x = 324
i = 0
n[i] = []
i = 0; n = {0: []}
b = '99'; s = True; z = '99100'
s = z.find(b) == 0
b = '99'; s = True; z = '99100'
a = 0; h = [0, 1, 2]; z = 2
a = h[z]
a = 2; h = [0, 1, 2]; z = 2
i = 0; j = 4; r = [[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]]; u = [[0, 1, 0, 0, 1, 0], [1, 1, 1, 1, 1, 1], [0, 1, 0, 0, 1, 0], [1, 1, 1, 1, 1, 1], [0, 1, 0, 0, 1, 0], [0, 1, 0, 0, 1, 0]]
r[i][j] = u[i][j]
i = 0; j = 4; r = [[0, 1, 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, 0, 0], [0, 0, 0, 0, 0, 0]]; u = [[0, 1, 0, 0, 1, 0], [1, 1, 1, 1, 1, 1], [0, 1, 0, 0, 1, 0], [1, 1, 1, 1, 1, 1], [0, 1, 0, 0, 1, 0], [0, 1, 0, 0, 1, 0]]
d = [0, 1, 1, 0, 0]; i = 3
d[i] = 1
d = [0, 1, 1, 1, 0]; i = 3
i = 1; j = [['1', '1', '1', '2'], '1912', '1892', '1234']
j[i] = list(j[i])
i = 1; j = [['1', '1', '1', '2'], ['1', '9', '1', '2'], '1892', '1234']
k = 0
i = k
i = 0; k = 0
i = '1000'; k = '1001'
i = k
i = '1001'; k = '1001'
n = [['O', 'O', 'O', 'O', 'O', 'O'], ['O', 'O', '.', '.', 'O', 'O'], ['O', 'O', 'O', '.', '.', 'O'], ['.', '.', 'O', '.', 'O', 'O'], ['.', '.', '.', 'O', 'O', 'O'], ['.', '.', '.', 'O', 'O', 'O']]; r = 1; u = 'OOO.OOO'
u = ''.join(n[r])
n = [['O', 'O', 'O', 'O', 'O', 'O'], ['O', 'O', '.', '.', 'O', 'O'], ['O', 'O', 'O', '.', '.', 'O'], ['.', '.', 'O', '.', 'O', 'O'], ['.', '.', '.', 'O', 'O', 'O'], ['.', '.', '.', 'O', 'O', 'O']]; r = 1; u = 'OO..OO'
n = 1.2000000000000002e-15; s = 3.333333333333332
s += n % 10
n = 1.2000000000000002e-15; s = 3.3333333333333335
b = 1; j = 7; s = 'ifailuhkqq'; w = ['h']
w = sorted(s[j:j + b])
b = 1; j = 7; s = 'ifailuhkqq'; w = ['k']
a = 4; i = 0
a = i
a = 0; i = 0
d = 'H'; i = 'K'
d += i
d = 'HK'; i = 'K'
h = 5
h += 1
h = 6
p = 1; q = [3, 0, 0]
p = max(q)
p = 3; q = [3, 0, 0]
a = 2; b = 10; i = 17; w = 1310740
w += a ^ b << i
a = 2; b = 10; i = 17; w = 2621462
e = [1, 3]; x = '1'
e.append(int(x))
e = [1, 3, 1]; x = '1'
i = 1; k = [2, 2, 1, 1]; s = 2
s = s + k[i]
i = 1; k = [2, 2, 1, 1]; s = 4
b = 'RBY_YBR'; d = {'R': 1, 'B': 1, 'Y': 1, '_': 1}; i = 4
d[b[i]] += 1
b = 'RBY_YBR'; d = {'R': 1, 'B': 1, 'Y': 2, '_': 1}; i = 4
k = 3; p = 4
p = p - k
k = 3; p = 1
a = {(0, 1): 0, (1, 1): 1, (1, 0): 2, (1, -1): 3, (0, -1): 4, (-1, -1): 5, (-1, 0): 6, (-1, 1): 7}
a = {(0, 1): 0, (1, 1): 1, (1, 0): 2, (1, -1): 3, (0, -1): 4, (-1, -1): 5, (-1, 0): 6, (-1, 1): 7}
a = {(0, 1): 0, (1, 1): 1, (1, 0): 2, (1, -1): 3, (0, -1): 4, (-1, -1): 5, (-1, 0): 6, (-1, 1): 7}
b = 1; k = [[1, 1, 1], [1, 1, 1]]; s = 0; z = 1
z += k[b][s]
b = 1; k = [[1, 1, 1], [1, 1, 1]]; s = 0; z = 2
n = 3
c = [[i, 1] for i in range(n + 1)]
c = [[0, 1], [1, 1], [2, 1], [3, 1]]; n = 3
j = ['1', 'abc']
s = int(j[0])
j = ['1', 'abc']; s = 1
b = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z']; j = 'a'; y = 2
y = b.index(j)
b = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z']; j = 'a'; y = 0
f = [1, 1, 0, 0]; i = 4; j = 0
t += f[j] * 2 ** (i - 1 - j)
f = [1, 1, 0, 0]; i = 4; j = 0; t = -74
l = 1; r = {(0): ['5']}; y = 7
r[l] = [str(y)]
l = 1; r = {0: ['5'], 1: ['7']}; y = 7
d = [40220.0, 46592.0, 42932.0]; n = [91.0, 94.0, 97.0]
d[0] += n[0] * n[1]
d = [48774.0, 46592.0, 42932.0]; n = [91.0, 94.0, 97.0]
b = 1; c = 2
b += c
b = 3; c = 2
v = ['a', 'k']; z = 97, 108
v = list(map(chr, z))
v = ['a', 'l']; z = (97, 108)
j = 1; t = 3; u = '3 '
u += str(t + 1 + j) + ' '
j = 1; t = 3; u = '3 5 '
s = 'lmno'
k = list(s)
k = ['l', 'm', 'n', 'o']; s = 'lmno'
r = ( 'In the third category he included those Brothers...ed the strict performance of these forms without ' ); x = 'troubling'
r += x + ' '
r = 'In the third category he included those Brothers...ed the strict performance of these forms without troubling '; x = 'troubling'
s = 7; x = []; z = 0
x.append((z, s + 1))
s = 7; x = [(0, 8)]; z = 0
d = 5; i = 0
k = min(i // 2, (d - 1) // 2)
d = 5; i = 0; k = 0
f = 0; i = 4; r = [0, 1, 3, 0, 4, 1]
f = f ^ r[i]
f = 4; i = 4; r = [0, 1, 3, 0, 4, 1]
b = ['}', '}', ']', ']', ')', ')']
b.pop()
b = ['}', '}', ']', ']', ')']
a = [1, 3, 2, 6, 1, 2]; i = 4; j = 5; z = 8
z = a[i] + a[j]
a = [1, 3, 2, 6, 1, 2]; i = 4; j = 5; z = 3
t = 'f'; y = ['o', 'k', 'f']
y.append(t)
t = 'f'; y = ['o', 'k', 'f', 'f']
r = 3
r -= 1
r = 2
m = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]
m.append(1)
m = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]
i = 5; p = [1, 1, 1, 2, 1, 3]; y = 3
y += p[i]
i = 5; p = [1, 1, 1, 2, 1, 3]; y = 6
v = array([-10.0, -8.0, 4.0, 3.0, 2.0, 1.0])
x = absolute(v[v != 0])
v = array([-10., -8., 4., 3., 2., 1.]); x = array([10., 8., 4., 3., 2., 1.])
t = [120, 210, 300, 30]
t.sort()
t = [30, 120, 210, 300]
d = 1; h = [0, 1, 0, -1, -2]
h.append(d + h[-1])
d = 1; h = [0, 1, 0, -1, -2, -1]
k = 1; m = [1, 1, 1, 1, 1, 1]; q = 2
q = q + m[k]
k = 1; m = [1, 1, 1, 1, 1, 1]; q = 3
a = [[3, -1, -1, -1], [-1, -1, -1, -1], [-1, -1, -1, -1], [-1, -1, -1, -1]]; c = 1; i = 1; r = 0; x = [3, 4, 8, 12, 16, 15, 14, 13, 9, 5, 1, 2]
a[r][c] = x[i]
a = [[3, 4, -1, -1], [-1, -1, -1, -1], [-1, -1, -1, -1], [-1, -1, -1, -1]]; c = 1; i = 1; r = 0; x = [3, 4, 8, 12, 16, 15, 14, 13, 9, 5, 1, 2]
i = 0; t = [6, 5, 2]; z = 0
i += (z + 1) * t.pop(0)
i = 6; t = [5, 2]; z = 0
g = '99910001001'; j = 1; l = 2
c = g[j:j + l]
c = '99'; g = '99910001001'; j = 1; l = 2
b = [['a', 'b', 'c', 'd', 'e'], ['f', 'g', 'h', 'i', 'j'], ['o', 'l', 'm', 'k', 'n'], ['t', 'r', 'p', 'q', 's'], ['x', 'y', 'w', 'u', 'v']]; i = 2
b[i].sort()
b = [['a', 'b', 'c', 'd', 'e'], ['f', 'g', 'h', 'i', 'j'], ['k', 'l', 'm', 'n', 'o'], ['t', 'r', 'p', 'q', 's'], ['x', 'y', 'w', 'u', 'v']]; i = 2
t = 'b'; z = ['a', 'b', 'c', 'b', 'a']
t = z[-1]
t = 'a'; z = ['a', 'b', 'c', 'b', 'a']
j = 1; s = 'aaa'
j = len(s) - 1
j = 2; s = 'aaa'
b = 0; x = 12; y = 13
b = x ^ y
b = 1; x = 12; y = 13
e = 6; y = 10
e = max(y, e)
e = 10; y = 10
f = {0, 1, 6, 9}; g = {0, 8, 3, 4}
f = g
f = {0, 8, 3, 4}; g = {0, 8, 3, 4}
i = 2; j = 5; k = 'ifailuhkqq'; s = ['l', 'u']
s = list(k[j:j + i])
i = 2; j = 5; k = 'ifailuhkqq'; s = ['u', 'h']
s = 5; x = [8, 4]
x.append(s)
s = 5; x = [8, 4, 5]
h = 2; i = 3; j = 4; u = [1, 2, 3, 1, 6, 10]
j = sum(u[i:i + h])
h = 2; i = 3; j = 7; u = [1, 2, 3, 1, 6, 10]
n = 2; z = [2, 2]
z = [0] * n
n = 2; z = [0, 0]
q = 1
n += q
n = 23; q = 1
i = 5; t = [1, 3]
t.append(i)
i = 5; t = [1, 3, 5]
p = 1; r = 1; w = [[0, 2, 1], [1, 1, 1], [2, 0, 0]]; z = 2
z += w[r][p]
p = 1; r = 1; w = [[0, 2, 1], [1, 1, 1], [2, 0, 0]]; z = 3
o = '#'; r = 1
o = '#' * (r + 1)
o = '##'; r = 1
b = ['I', 'love', 'to', 'dance.', 'I', 'like', 'to', 'dance', 'I.', 'like', 'to', 'play', 'chess.']; i = 9; n = 'to dance I'
n = ' '.join(b[i:i + 3])
b = ['I', 'love', 'to', 'dance.', 'I', 'like', 'to', 'dance', 'I.', 'like', 'to', 'play', 'chess.']; i = 9; n = 'like to play'
b = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0]; j = 7
b[-j] = 0
b = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0]; j = 7
w = '555555333'
w += '3'
w = '5555553333'
p = 1; y = [1, 1, 2, 2]
p = y[2]
p = 2; y = [1, 1, 2, 2]
j = 2; m = ['3', '4', '100']
j = int(m[0])
j = 3; m = ['3', '4', '100']
i = 11; v = [0, 1, 3, 0, 4, 1, 7, 0, 8, 1, 11]
v.append(v[-1] ^ i)
i = 11; v = [0, 1, 3, 0, 4, 1, 7, 0, 8, 1, 11, 0]
j = 0; v = [1, 2, 2, 3, 1, 1]; x = 3
x = v[j] + 1
j = 0; v = [1, 2, 2, 3, 1, 1]; x = 2
d = {'Harry': 37.21, 'Berry': 37.21, 'Tina': 37.2, 'Akriti': 41.0}; f = 39.0; v = 'Harsh'
d[v] = f
d = {'Harry': 37.21, 'Berry': 37.21, 'Tina': 37.2, 'Akriti': 41.0, 'Harsh': 39.0}; f = 39.0; v = 'Harsh'
k = 111; l = 4
k = int('1' * l)
k = 1111; l = 4
b = 508912; o = 'r'
b ^= 1 << ord(o) - 95
b = 1033200; o = 'r'
l = 'a'; r = ['a']
r.append(l)
l = 'a'; r = ['a', 'a']
c = 0; x = 'D'
c += 1 if x.upper() == 'U' else -1
c = -1; x = 'D'
i = 4; j = 10; w = 6
j += w - i
i = 4; j = 12; w = 6
y = ['a', 'l']; z = 97, 109
y = list(map(chr, z))
y = ['a', 'm']; z = (97, 109)
g = {1, 2, 3}; x = 1; y = 2
g.add(abs(x - y))
g = {1, 2, 3}; x = 1; y = 2
t = ['1', '2', '100']
j = int(t[0])
j = 1; t = ['1', '2', '100']
g = [1, 2, 1, 2, 1]; z = b'5\n2\n1\n2\n1\n2\n1\n\n\n\n'
z = sorted(g)
g = [1, 2, 1, 2, 1]; z = [1, 1, 1, 2, 2]