start
stringlengths 5
368
| code
stringlengths 5
143
| end
stringlengths 5
527
|
|---|---|---|
x = -2
|
x -= 1
|
x = -3
|
n = 1.0000000000000005e-70
|
n /= 10
|
n = 1.0000000000000005e-71
|
j = 18
|
j += 1
|
j = 19
|
n = 8; x = 7
|
x = n
|
n = 8; x = 8
|
i = [3, 4, 2, 3, 6, 1, 3, 6, 9, 10]; s = 6; x = 6
|
s = i[x - 1]
|
i = [3, 4, 2, 3, 6, 1, 3, 6, 9, 10]; s = 1; x = 6
|
v = [3]; x = 3
|
v.append(x)
|
v = [3, 3]; x = 3
|
q = 3; x = 3
|
q = max(q + x, 0)
|
q = 6; x = 3
|
c = 5; r = 2
|
r = c
|
c = 5; r = 5
|
n = 8; p = 3; r = 7
|
r = n % p
|
n = 8; p = 3; r = 2
|
x = 7
|
x += 1
|
x = 8
|
x = [1, 0, 1]; y = [2, 1, 1]
|
x = y
|
x = [2, 1, 1]; y = [2, 1, 1]
|
a = 'SOS'; i = 3; s = 'SOSSOT'
|
a = s[i:i + 3]
|
a = 'SOT'; i = 3; s = 'SOSSOT'
|
j = 7; q = [1, 2, 1, 2, 1, 2, 3, 1, 1, 1]
|
q[j] = q[j - 1] + 1
|
j = 7; q = [1, 2, 1, 2, 1, 2, 3, 4, 1, 1]
|
n = 1.232595164407831e-31
|
n /= 2
|
n = 6.162975822039155e-32
|
t = {'D': 2, '_': 3, 'F': 1, 'Q': 2}; w = 'Q'
|
t.update({w: t.get(w, 0) + 1})
|
t = {'D': 2, '_': 3, 'F': 1, 'Q': 3}; w = 'Q'
|
m = 4
|
m += 1
|
m = 5
|
m = [73, 48, 95, 95, 33, 47]; x = 98
|
m.append(x)
|
m = [73, 48, 95, 95, 33, 47, 98]; x = 98
|
e = 6; i = 8; l = [-20, -3916237, -357920, -3620601, -7330761, 30, 7374819, 6246457, - 6461594, 266854]
|
l[i], l[e] = l[e], l[i]
|
e = 6; i = 8; l = [-20, -3916237, -357920, -3620601, -7330761, 30, -6461594, 6246457, 7374819, 266854]
|
p = []; x = 9
|
p.append(x * 10)
|
p = [90]; x = 9
|
b = ['a', 'b', 'b']; g = 'abba'; i = 2; j = 2
|
b = [el for el in g[i:j + 1]]
|
b = ['b']; g = 'abba'; i = 2; j = 2
|
d = 1; g = [2, 3]
|
d = g[0]
|
d = 2; g = [2, 3]
|
n = 6
|
d = [0] * (n + 1)
|
d = [0, 0, 0, 0, 0, 0, 0]; n = 6
|
a = [1, 4, 5, 3, 2]; x = {(1): [0]}
|
x[a[i]] = [i]
|
a = [1, 4, 5, 3, 2]; i = True; x = {1: [0], 4: [True]}
|
i = [(0, '-'), (6, '-'), (0, '-'), (6, '-'), (4, '-'), (0, '-'), (6, '-'), (0, '-'), (6, '-'), (0, '-')]; s = 'that'; x = 4
|
i.append((x, s))
|
i = [(0, '-'), (6, '-'), (0, '-'), (6, '-'), (4, '-'), (0, '-'), (6, '-'), (0, '-'), (6, '-'), (0, '-'), (4, 'that')]; s = 'that'; x = 4
|
j = 2; r = 2; s = 'e-d-c-d-'; z = 'abcdefghijklmnopqrstuvwxyz'
|
s += z[r + abs(j)]
|
j = 2; r = 2; s = 'e-d-c-d-e'; z = 'abcdefghijklmnopqrstuvwxyz'
|
a = 'ifailuhkqq'; i = 1; j = 1; y = ['i', 'if', 'ifa', 'ifai', 'ifail', 'ifailu', 'ifailuh', 'ifailuhk', 'ifailuhkq', 'ifailuhkqq']
|
y.append(a[i:j + 1])
|
a = 'ifailuhkqq'; i = 1; j = 1; y = ['i', 'if', 'ifa', 'ifai', 'ifail', 'ifailu', 'ifailuh', 'ifailuhk', 'ifailuhkq', 'ifailuhkqq', 'f']
|
i = 1
|
w += i
|
i = 1; w = 16
|
f = {'a': 1, 'ab': 1, 'abc': 1, 'abcd': 1, 'b': 1, 'bc': 1, 'bcd': 1, 'c': 1, 'cd': 1}; z = 'd'
|
f[z] = 1
|
f = {'a': 1, 'ab': 1, 'abc': 1, 'abcd': 1, 'b': 1, 'bc': 1, 'bcd': 1, 'c': 1, 'cd': 1, 'd': 1}; z = 'd'
|
n = ['1', '4']
|
k = int(n[1])
|
k = 4; n = ['1', '4']
|
x = [7, 2, 4, 6, 5, 9, 12, 11]
|
t = [0] * (max(x) + 1)
|
t = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; x = [7, 2, 4, 6, 5, 9, 12, 11]
|
g = 8; m = 1; n = 6
|
g = m - n
|
g = -5; m = 1; n = 6
|
u = [95, 84, 90]; x = [72.0, 67.0, 92.0, 95.0, 59.0, 58.0, 95.0, 94.0]
|
x.append(float(u[1]))
|
u = [95, 84, 90]; x = [72.0, 67.0, 92.0, 95.0, 59.0, 58.0, 95.0, 94.0, 84.0]
|
c = 'm'; u = {'i', 'l', 'h', 'y', 'g', 'n', 'a', 'c', 'x', 'b', 'f', 's', 'u', 'j', 'm', 'q', 'v', 'd', 't', ...}
|
u.remove(c)
|
c = 'm'; u = {'c', 't', 'l', 'j', 'h', 'i', 'y', 'd', 'f', 'v', 'x', 'a', 'q', Ellipsis, 'u', 'n', 's', 'g', 'b'}
|
k = 1
|
k += 1
|
k = 2
|
c = 10; d = 11; j = 1
|
c, d = j - 1, j
|
c = 0; d = 1; j = 1
|
i = {3}; m = {2}
|
m.update(i)
|
i = {3}; m = {2, 3}
|
c = 'd'; y = {'a': 2, 'b': 2, 'c': 1}
|
y[c] = 1
|
c = 'd'; y = {'a': 2, 'b': 2, 'c': 1, 'd': 1}
|
h = 2; p = 4
|
h = int(p ** 0.5) + 1
|
h = 3; p = 4
|
i = 5; j = 2; s = [[0, 0, 0, 0, 0, 0], [0, 0, 0, 1, 1, 1], [0, 0, 0, 2, 2, 2], [0, 1, 1, 2, 2, 3], [0, 1, 2, 2, 2, 3], [0, 1, 0, 0, 0, 0]]
|
s[i][j] = max(s[i][j - 1], s[i - 1][j])
|
i = 5; j = 2; s = [[0, 0, 0, 0, 0, 0], [0, 0, 0, 1, 1, 1], [0, 0, 0, 2, 2, 2], [0, 1, 1, 2, 2, 3], [0, 1, 2, 2, 2, 3], [0, 1, 2, 0, 0, 0]]
|
i = 2; j = 16; x = [[11, 2, 4], [4, 5, 6], [10, 8, -12]]
|
j += x[i][i]
|
i = 2; j = 4; x = [[11, 2, 4], [4, 5, 6], [10, 8, -12]]
|
i = 2; s = ['a', 'c', 'd', 'b']
|
s[i:] = s[len(s) - 1:i - 1:-1]
|
i = 2; s = ['a', 'c', 'b', 'd']
|
b = 189; i = 25, 81, 25; n = [3, 1000]
|
b = sum(i) % n[1]
|
b = 131; i = (25, 81, 25); n = [3, 1000]
|
o = 1; z = 0
|
a = 2 ** o - 2 ** z + a
|
a = -81; o = 1; z = 0
|
m = ['000', '001', '002', '003', '004', '005', '006', '041', '042', '043', '044', '045', '046', '047']; n = 48
|
m.append('0' + str(n))
|
m = ['000', '001', '002', '003', '004', '005', '006', '041', '042', '043', '044', '045', '046', '047', '048']; n = 48
|
i = 3; n = 4; p = 23; x = [4, 6, 7, 9]
|
p += x[n - i] * 2 ** (i - 1)
|
i = 3; n = 4; p = 47; x = [4, 6, 7, 9]
|
i = 5; j = [0, 1, 3, 0, 4, 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]
|
j[i] = j[i - 1] ^ i
|
i = 5; j = [0, 1, 3, 0, 4, 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]
|
i = 4; n = 1
|
n = i - 1
|
i = 4; n = 3
|
i = 7; x = ['one', 'two', 'three', 'four', 'five', 'quarter', 'sixteen', 'seventeen', 'eighteen', 'nineteen']
|
s = x[i - 1]
|
i = 7; s = 'sixteen'; x = ['one', 'two', 'three', 'four', 'five', 'quarter', 'sixteen', 'seventeen', 'eighteen', 'nineteen']
|
x = [5, 4, 3, 2]
|
x.sort()
|
x = [2, 3, 4, 5]
|
b = [[1, 1, 0, 0], [0, 1, 1, 0], [0, 0, 1, 0], [1, 0, 0, 0]]; m = 4
|
m = len(b[0])
|
b = [[1, 1, 0, 0], [0, 1, 1, 0], [0, 0, 1, 0], [1, 0, 0, 0]]; m = 4
|
g = {1, 4, 9}; s = 8
|
g.add(s)
|
g = {8, 1, 4, 9}; s = 8
|
m = 'ababaa'
|
l.append(m)
|
l = ['ababaa']; m = 'ababaa'
|
i = 0; n = [5, 3, 2]; w = 3
|
w = max(w, n[i])
|
i = 0; n = [5, 3, 2]; w = 5
|
e = [0, 2, 2, 2, 2, 2, 2, 0, 0]; i = 6
|
e[i] += 1
|
e = [0, 2, 2, 2, 2, 2, 3, 0, 0]; i = 6
|
i = 2; j = 5; x = [0, 0, 0, 0, 1, 0, 1, 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]
|
x[i * j] = 1
|
i = 2; j = 5; x = [0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
d = '1'
|
i.add(d)
|
d = '1'; i = {'1'}
|
b = 'a'; i = 2; m = 'aacghgh'
|
b = m[:i]
|
b = 'aa'; i = 2; m = 'aacghgh'
|
f = [['-', '-', '-', '-', '-', 'to'], ['be'], [], ['be'], ['-', 'that'], [ 'question'], [], [], [], [], []]; s = 'or'; x = 1
|
f[x].append(s)
|
f = [['-', '-', '-', '-', '-', 'to'], ['be', 'or'], [], ['be'], ['-', 'that'], ['question'], [], [], [], [], []]; s = 'or'; x = 1
|
n = [1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987]
|
n.append(n[-2] + n[-1])
|
n = [1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987, 1597]
|
u = 'aabcde'
|
y = u
|
u = 'aabcde'; y = 'aabcde'
|
i = 1
|
p = i
|
i = 1; p = 1
|
d = 3; j = 1; s = 'cdcd'; w = 'c'
|
w = ''.join(sorted(s[d:d + j]))
|
d = 3; j = 1; s = 'cdcd'; w = 'd'
|
d = 4; h = [10, 5, 20, 20, 4, 5, 2, 25, 1]; i = 6
|
d = h[i]
|
d = 2; h = [10, 5, 20, 20, 4, 5, 2, 25, 1]; i = 6
|
d = deque(['4', '1', '2', '3']); o = ['pop']
|
getattr(d, o[0])(*o[1:])
|
d = deque(['4', '1', '2']); o = ['pop']
|
m = {'i': 2, 'f': 1, 'a': 1, 'l': 1, 'u': 1, 'h': 1, 'k': 1, 'q': 2, 'fi': 1}; t = 'af'
|
m[t] = m.get(t, 0) + 1
|
m = {'i': 2, 'f': 1, 'a': 1, 'l': 1, 'u': 1, 'h': 1, 'k': 1, 'q': 2, 'fi': 1, 'af': 1}; t = 'af'
|
e = ['In', 'the', 'third', 'category', 'he', 'included', 'about', 'their', 'purport', 'or', 'significance.']; i = 8; x = 'In the third category he included those Brothers'
|
x = x + ' ' + e[i]
|
e = ['In', 'the', 'third', 'category', 'he', 'included', 'about', 'their', 'purport', 'or', 'significance.']; i = 8; x = 'In the third category he included those Brothers purport'
|
v = 2
|
r += v * (v - 1) / 2
|
r = 77.0; v = 2
|
h = 3; i = 0; r = [1]
|
h = r[i]
|
h = 1; i = 0; r = [1]
|
i = [1, 2, 3, 3, 2]; j = 1
|
i[j + 1] = i[j]
|
i = [1, 2, 2, 3, 2]; j = 1
|
a = ['CANDY', 5]; k = [['BANANA FRIES', 12], ['POTATO CHIPS', 30], ['APPLE JUICE', 10]]
|
k.append(a)
|
a = ['CANDY', 5]; k = [['BANANA FRIES', 12], ['POTATO CHIPS', 30], ['APPLE JUICE', 10], ['CANDY', 5]]
|
i = 2; j = 2; s = [[0, 0, 0, 0, 0, 0], [0, 0, 0, 1, 1, 1], [0, 0, None, None, None, None], [None, None, None, None, None, None], [None, None, None, None, None, None], [None, None, None, None, None, None]]
|
s[i][j] = max(s[i - 1][j], s[i][j - 1])
|
i = 2; j = 2; s = [[0, 0, 0, 0, 0, 0], [0, 0, 0, 1, 1, 1], [0, 0, 0, None, None, None], [None, None, None, None, None, None], [None, None, None, None, None, None], [None, None, None, None, None, None]]
|
c = 'e'; d = 'b'; i = {'b': set(), 'e': {'b'}}
|
i[d].add(c)
|
c = 'e'; d = 'b'; i = {'b': {'e'}, 'e': {'b'}}
|
p = 2
|
p = p + 1
|
p = 3
|
n = []; x = 20
|
n.append(x)
|
n = [20]; x = 20
|
h = 8; j = 5; k = 4
|
h = j + k
|
h = 9; j = 5; k = 4
|
a = [0.0, 4.0, 5.0]; b = [1.0, 7.0, 6.0]
|
o = [b[0] - a[0], b[1] - a[1], b[2] - a[2]]
|
a = [0.0, 4.0, 5.0]; b = [1.0, 7.0, 6.0]; o = [1.0, 3.0, 1.0]
|
h = ['12']
|
g = list(map(int, h[1:len(h)]))
|
g = []; h = ['12']
|
i = 2; j = 3; t = 'abccddd'
|
t = t.replace(t[i:j + 1], '')
|
i = 2; j = 3; t = 'abddd'
|
i = 2; t = {(2): 1}
|
t[i] += 1
|
i = 2; t = {2: 2}
|
s = 'baab'
|
l = list(s)
|
l = ['b', 'a', 'a', 'b']; s = 'baab'
|
w = '0 1'
|
x, y = [int(w.split()[0]), int(w.split()[1])]
|
w = '0 1'; x = 0; y = 1
|
d = {'a': 1}; e = 'a'
|
d[e] += 1
|
d = {'a': 2}; e = 'a'
|
l = 15; x = 2; y = 2.5
|
y = l / x
|
l = 15; x = 2; y = 7.5
|
b = ['', '', '', '']; i = 0; s = '3943'
|
b[i] = b[-i - 1] = s[i]
|
b = ['3', '', '', '3']; i = 0; s = '3943'
|
g = '11111111111111111111111111111'
|
g += '0'
|
g = '111111111111111111111111111110'
|
b = 9; m = 1000000007
|
b = b * b % m
|
b = 81; m = 1000000007
|
j = 39; o = 2; q = 1.9999999998544808
|
q = q + j * o ** -j
|
j = 39; o = 2; q = 1.9999999999254214
|
s = 'ashley'
|
w = s[idx]
|
m = True; s = 'ashley'; w = 's'
|
j = 17
|
j = j + 1
|
j = 18
|
p = [0, 0, 0, 0]
|
p.append(0)
|
p = [0, 0, 0, 0, 0]
|
w = 32
|
w <<= 1
|
w = 64
|
i = 17; r = 131067
|
r = r ^ 1 << i
|
i = 17; r = 262139
|
k = ['', 'abc']; n = ''
|
n = k.pop()
|
k = ['']; n = 'abc'
|
i = 14; o = 43
|
o = o - i
|
i = 14; o = 29
|
r = 5
|
r += 1
|
r = 6
|
b = 205; w = {(203): 1, (204): 2}
|
w[b] = w.get(b, 0) + 1
|
b = 205; w = {203: 1, 204: 2, 205: 1}
|
d = [2, 2, 2, 2, 2, 1, 1, 1, 1, 0]
|
d.remove(0)
|
d = [2, 2, 2, 2, 2, 1, 1, 1, 1]
|
g = 2; l = [8, 5, 11, 6]; q = 1
|
l.append(q + g)
|
g = 2; l = [8, 5, 11, 6, 3]; q = 1
|
a = ['A', 'B', 'A', 'B', 'A', 'B', 'A', 'B']; b = [65, 66, 65, 66, 65, 66]; i = 6
|
b.append(ord(a[i]))
|
a = ['A', 'B', 'A', 'B', 'A', 'B', 'A', 'B']; b = [65, 66, 65, 66, 65, 66, 65]; i = 6
|
c = {(2): 5}; v = 1
|
c[v] = 1
|
c = {2: 5, 1: 1}; v = 1
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.