start
stringlengths 5
368
| code
stringlengths 5
143
| end
stringlengths 5
527
|
---|---|---|
i = 'give'
|
v[i] = 1
|
i = 'give'; v = {'give': 1}
|
g = 8
|
g = g + 1
|
g = 9
|
a = 34; i = 11; j = 42
|
a = i ^ j
|
a = 33; i = 11; j = 42
|
x = 'deque'
|
t = lambda x: x % 2 != 0
|
t = <function <lambda> at 0x7f1bf42e1830>; x = 'deque'
|
d = 48
|
d += 1
|
d = 49
|
i = 11; j = 14; v = 6
|
v = i ^ j
|
i = 11; j = 14; v = 5
|
n = 7; z = [-1, 2, 5]
|
z.append(n)
|
n = 7; z = [-1, 2, 5, 7]
|
g = 2; q = [1, 2, 3, 4, 5]; t = 0
|
g = q[t]
|
g = 1; q = [1, 2, 3, 4, 5]; t = 0
|
k = 100; y = 250
|
k = y
|
k = 250; y = 250
|
a = 1000; b = 0; e = 3; j = 3; s = [(0, 0), (999, 0), (1000, 0), (1001, 0)]
|
a, b = s[j + 1 - e]
|
a = 999; b = 0; e = 3; j = 3; s = [(0, 0), (999, 0), (1000, 0), (1001, 0)]
|
q = 'give'
|
x[q] = 1
|
q = 'give'; x = {'give': 1}
|
i = 4; l = [('A', 'C'), ('A', 'H'), ('A', 'K'), ('C', 'A'), ('H', 'K'), ('K', 'A'), ('K', 'C'), ('K', 'H')]; t = ['C', 'A']
|
t = list(l[i])
|
i = 4; l = [('A', 'C'), ('A', 'H'), ('A', 'K'), ('C', 'A'), ('H', 'K'), ('K', 'A'), ('K', 'C'), ('K', 'H')]; t = ['H', 'K']
|
a = ['i', 'fi', 'afi', 'afii', 'afiil', 'afiilu', 'afhiilu', 'afhiiklu', 'afhiiklqu']; i = 0; j = 10; s = 'ifailuhkqq'
|
a.append(''.join(sorted(s[i:i + j])))
|
a = ['i', 'fi', 'afi', 'afii', 'afiil', 'afiilu', 'afhiilu', 'afhiiklu', 'afhiiklqu', 'afhiiklqqu']; i = 0; j = 10; s = 'ifailuhkqq'
|
e = [1, 2, 0, 0]; i = 1
|
e[i] += 1
|
e = [1, 3, 0, 0]; i = 1
|
c = {'give': 1, 'me': 1, 'one': 1, 'grand': 1}; i = 'today'
|
c[i] = 1
|
c = {'give': 1, 'me': 1, 'one': 1, 'grand': 1, 'today': 1}; i = 'today'
|
b = 3; s = [2, 4]
|
s.append(b)
|
b = 3; s = [2, 4, 3]
|
s = 'baccd'
|
s = list(s)
|
s = ['b', 'a', 'c', 'c', 'd']
|
l = [['W', 'e'], ['p', 'r', 'o', 't', 'l', 'y'], ['j', 'u', 'd', 'g', 'e', 'd'], ['a', 'n', 't', 'q', 'u', 'e']]; m = ['i', 'v', 'o', 'r', 'y']
|
l.append(m)
|
l = [['W', 'e'], ['p', 'r', 'o', 't', 'l', 'y'], ['j', 'u', 'd', 'g', 'e', 'd'], ['a', 'n', 't', 'q', 'u', 'e'], ['i', 'v', 'o', 'r', 'y']]; m = ['i', 'v', 'o', 'r', 'y']
|
o = 295636; u = 869167
|
u = o
|
o = 295636; u = 295636
|
x = 'Counter'
|
j = lambda x, y: x if x[1] <= y[1] else y
|
j = <function <lambda> at 0x7f1bf4233c20>; x = 'Counter'
|
w = 21; z = [1, 7, 12]
|
z.append(w)
|
w = 21; z = [1, 7, 12, 21]
|
g = [0, 9, 27, 63, 135, 279, 567, 1143, 2295, 4599, 9207, 18423, 36855]; i = 12
|
g.append(g[-1] + 9 * 2 ** i)
|
g = [0, 9, 27, 63, 135, 279, 567, 1143, 2295, 4599, 9207, 18423, 36855, 73719]; i = 12
|
p = ['4\n', '2 4 5 9\n', '4\n', '2 4 11 12\n', '\n', '\n', '\n']
|
l = p
|
l = ['4\n', '2 4 5 9\n', '4\n', '2 4 11 12\n', '\n', '\n', '\n']; p = ['4\n', '2 4 5 9\n', '4\n', '2 4 11 12\n', '\n', '\n', '\n']
|
d = 1.0; n = 3.0
|
x, y = n, d
|
d = 1.0; n = 3.0; x = 3.0; y = 1.0
|
b = [1, 2, 3, 4]
|
r = b[1]
|
b = [1, 2, 3, 4]; r = 2
|
h = 1; i = 1; x = ['a', 'ab', 'abc', 'b', 'bc', 'c']; y = ['a', 'b']
|
h = h + pow(len(x[i]), len(y))
|
h = 5.0; i = 1; x = ['a', 'ab', 'abc', 'b', 'bc', 'c']; y = ['a', 'b']
|
m = 'c'; r = ['a', 'b']
|
r.append(m)
|
m = 'c'; r = ['a', 'b', 'c']
|
y = 0, 3
|
e, m = y
|
e = 0; m = 3; y = (0, 3)
|
f = 121393; s = 196418; t = 196418
|
t = f + s
|
f = 121393; s = 196418; t = 317811
|
h = [0, 1, 2]; x = 0
|
a = h[x]
|
a = 0; h = [0, 1, 2]; x = 0
|
c = 3; r = 5
|
c = r
|
c = 5; r = 5
|
j = ['1', '2', '3', '4', '10', '11']
|
j = [int(x) for x in j]
|
j = [1, 2, 3, 4, 10, 11]
|
o = 0; q = {(203): 2, (204): 2, (205): 1}; x = 205
|
o = q.get(x, 0)
|
o = 1; q = {203: 2, 204: 2, 205: 1}; x = 205
|
c = 'c'; v = [0, 0, 3, 3, 0, 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 = 'c'; v = [0, 0, 4, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
i = 0; s = '99910001001'
|
x = s[i + 1:]
|
i = 0; s = '99910001001'; x = '9910001001'
|
r = ( 'In the third category he included those Brothers...hese forms without troubling about their purport ' ); x = 'or'
|
r += x + ' '
|
r = 'In the third category he included those Brothers...hese forms without troubling about their purport or '; x = 'or'
|
k = 8
|
k = int(k / 10)
|
k = 0
|
a = 1; m = 0; s = [(1, 0), (1, 1), (1, 1), (1, 0), (1, 2), (0, 0), (0, 2)]
|
m, a = s.pop()
|
a = 2; m = 0; s = [(1, 0), (1, 1), (1, 1), (1, 0), (1, 2), (0, 0)]
|
c = '4'; r = '3'
|
r, c = [int(r), int(c)]
|
c = 4; r = 3
|
e = ['', 'ab']; h = 'baa'; k = 'abaab'
|
e = k.replace(h, '_')
|
e = 'a_b'; h = 'baa'; k = 'abaab'
|
a = 4; i = 11; j = 16
|
a = i ^ j
|
a = 27; i = 11; j = 16
|
z = 3
|
k.append(z)
|
k = [3]; z = 3
|
b = 'B_RRBR'; d = {'_'}
|
d = set(b)
|
b = 'B_RRBR'; d = {'B', 'R', '_'}
|
o = '12'
|
o = str(int(o) + 1)
|
o = '13'
|
w = 3
|
j = w
|
j = 3; w = 3
|
j = 2; u = 3
|
j = u
|
j = 3; u = 3
|
v = [[5, 5]]; x = [4, 2]
|
v.append(x)
|
v = [[5, 5], [4, 2]]; x = [4, 2]
|
g = 'a'; i = 1; s = 'abracadabra'
|
g += s[i]
|
g = 'ab'; i = 1; s = 'abracadabra'
|
d = {'a': 1, 'b': 1, 'c': 1, 'd': 1, 'e': 2, 'f': 1, 'g': 1, 'h': 1}; i = 'h'; l = [1, 1, 1, 1, 2, 1, 1]
|
l.append(d[i])
|
d = {'a': 1, 'b': 1, 'c': 1, 'd': 1, 'e': 2, 'f': 1, 'g': 1, 'h': 1}; i = 'h'; l = [1, 1, 1, 1, 2, 1, 1, 1]
|
a = [1, 6, 9]; j = 7; l = 0; o = [0, 1, 2, 3, 4, 5, 6, 0, 0, 0, 0, 0, 0]
|
o[j] = max(o[j], a[l] + o[j - a[l]])
|
a = [1, 6, 9]; j = 7; l = 0; o = [0, 1, 2, 3, 4, 5, 6, 7, 0, 0, 0, 0, 0]
|
i = 6; p = 12; x = [1, 2, 3, 7, 12, 14, 21, 21]
|
p = x[i]
|
i = 6; p = 21; x = [1, 2, 3, 7, 12, 14, 21, 21]
|
c = (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); h = -1253354784533417420
|
h = hash(c)
|
c = (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); h = 5868894011261529223
|
i = '3'; s = ['1', '91']
|
i = s[0]
|
i = '1'; s = ['1', '91']
|
g = 123; y = 138
|
g = y
|
g = 138; y = 138
|
a = 6; f = 0; u = {0, 1}
|
u.add(f + a)
|
a = 6; f = 0; u = {0, 1, 6}
|
a = [2, 3, 1, 2, 3, 2, 3, 3]; i = 3; k = 2
|
k = min(k, a[i])
|
a = [2, 3, 1, 2, 3, 2, 3, 3]; i = 3; k = 2
|
p = [2, 2]
|
p[1] += 1
|
p = [2, 3]
|
a = 1; s = 2147483648
|
s = ~a & 4294967295
|
a = 1; s = 4294967294
|
c = 5; h = [[1, 0, 1, 1, 0, 1], [1, 0, 1, 1, 0, 1], [1, 0, 1, 1, 0, 1], [1, 0, 1, 1, 0, 1]]; m = 1; n = 5; y = 0
|
y = h[m][n - c] if n - c >= 0 else 0
|
c = 5; h = [[1, 0, 1, 1, 0, 1], [1, 0, 1, 1, 0, 1], [1, 0, 1, 1, 0, 1], [1, 0, 1, 1, 0, 1]]; m = 1; n = 5; y = 1
|
r = {'give': 1, 'one': 1, 'grand': 1}; x = 'today'
|
r[x] = 0
|
r = {'give': 1, 'one': 1, 'grand': 1, 'today': 0}; x = 'today'
|
u = [-3, 1, 17, 68, 71]
|
j = abs(u[0] - u[-1])
|
j = 74; u = [-3, 1, 17, 68, 71]
|
d = [[[], [[], [], [], [], True, False], [], [], False, True], [], [], [], [], False, True]; g = 1; v = [[[], [[], [], [], [], True, False], [], [], False, True], [], [], [], [], False, True]
|
d[g] = v
|
d = [[[], [[], [], [], [], True, False], [], [], False, True], [[[], [[], [], [], [], True, False], [], [], False, True], [], [], [], [], False, True], [], [], [], False, True]; g = 1; v = [[[], [[], [], [], [], True, False], [], [], False, True], [], [], [], [], False, True]
|
c = ['2', '5', '100']; r = '3 4 100\n'
|
c = r.strip().split()
|
c = ['3', '4', '100']; r = '3 4 100\n'
|
g = 2; q = [1, 1, 5, 3, 4]; z = 0
|
q[z + 1] = g
|
g = 2; q = [1, 2, 5, 3, 4]; z = 0
|
i = [6, 5, 4, 9]; y = [6, 5, 4, 9]
|
y = [i[0]]
|
i = [6, 5, 4, 9]; y = [6]
|
l = 0; s = ['d', 'k', 'h', 'c']; y = ['c']
|
y = s[l:]
|
l = 0; s = ['d', 'k', 'h', 'c']; y = ['d', 'k', 'h', 'c']
|
a = [7, 4, 6, 5]; b = [4, 5, 6, 7, 9]
|
b = sorted(a)
|
a = [7, 4, 6, 5]; b = [4, 5, 6, 7]
|
b = [3, 3, 2, 1, 3]
|
x = list(set(b))
|
b = [3, 3, 2, 1, 3]; x = [1, 2, 3]
|
l = [1, 2]; u = 0
|
u = l.pop(0)
|
l = [2]; u = 1
|
i = 73; z = [0, 1, 3, 0, 4, 1, 7, 0, 8, 1, 11, 0, 12, 1, 15, 0, 60, 1, 63, 0, 64, 1, 67, 0, 68, 1, 71, 0, 72]
|
z.append(z[-1] ^ i)
|
i = 73; z = [0, 1, 3, 0, 4, 1, 7, 0, 8, 1, 11, 0, 12, 1, 15, 0, 60, 1, 63, 0, 64, 1, 67, 0, 68, 1, 71, 0, 72, 1]
|
u = 3
|
u += 1
|
u = 4
|
i = 2; l = [[True, True], [False, True], None, None]; p = -1; q = -1
|
l[i] = [p > 0, q > 0]
|
i = 2; l = [[True, True], [False, True], [False, False], None]; p = -1; q = -1
|
o = 'c'
|
m[o] = 1
|
m = {'c': 1}; o = 'c'
|
b = [2, 1]; n = 2; q = '2 '
|
q = q + str(b[n - 1])
|
b = [2, 1]; n = 2; q = '2 1'
|
a = ['z', '{', '{', '[']; i = 3; s = '{{[[(())]]}}'
|
a.append(s[i])
|
a = ['z', '{', '{', '[', '[']; i = 3; s = '{{[[(())]]}}'
|
f = '5'; g = '01'
|
f = g
|
f = '01'; g = '01'
|
g = [19, 0, 0, 0]; w = 0
|
g[w] += 1
|
g = [20, 0, 0, 0]; w = 0
|
c = 2; k = 1
|
k = c
|
c = 2; k = 2
|
d = [10, 100]; e = [20, 110, 200]
|
d = list(e)
|
d = [20, 110, 200]; e = [20, 110, 200]
|
c = [48.0, 67.0, 76.0]; j = 1; q = [7633.0, 5184.0, 5776.0]
|
q[j] += c[j] * c[j]
|
c = [48.0, 67.0, 76.0]; j = 1; q = [7633.0, 9673.0, 5776.0]
|
i = [1, 1]
|
l = sum(i)
|
i = [1, 1]; l = 2
|
c = 'b'; x = {'a': 3, 'b': 3}
|
x[c] += 1
|
c = 'b'; x = {'a': 3, 'b': 4}
|
x = 2
|
o.append(x)
|
o = [2]; x = 2
|
i = [0, 0]; j = 0; m = [1, 1]
|
i[j] += m[j]
|
i = [1, 0]; j = 0; m = [1, 1]
|
b = 'B_RRBR'; d = {'B': 2, '_': 1, 'R': 2}; i = 5
|
d[b[i]] += 1
|
b = 'B_RRBR'; d = {'B': 2, '_': 1, 'R': 3}; i = 5
|
i = 4; w = [(5.0, 3), (9.0, 2), (11.0, 1), (19.0, 4), (29.0, 5)]; z = [3, 2, 1, 4]
|
z.append(w[i][1])
|
i = 4; w = [(5.0, 3), (9.0, 2), (11.0, 1), (19.0, 4), (29.0, 5)]; z = [3, 2, 1, 4, 5]
|
g = ['7283455864', '6731158619', '8988242643', '3830589324', '2229505813', '5633845374']; r = '6473530293'
|
g.append(r)
|
g = ['7283455864', '6731158619', '8988242643', '3830589324', '2229505813', '5633845374', '6473530293']; r = '6473530293'
|
l = [0, 0, 2, 0]; x = 0
|
x = sum(l)
|
l = [0, 0, 2, 0]; x = 2
|
d = 'ac '; i = 'b'
|
i = d[1]
|
d = 'ac '; i = 'c'
|
d = [[11, 2, 4], [4, 5, 6], [10, 8, -12]]; i = 1; j = 1; k = 4
|
k += d[i][j]
|
d = [[11, 2, 4], [4, 5, 6], [10, 8, -12]]; i = 1; j = 1; k = 9
|
x = '3'
|
x = int(x)
|
x = 3
|
b = 4; e = 2310
|
b, e = 0, 1
|
b = 0; e = 1
|
q = {630, 315, -1572, -786}; t = 1260
|
q.add(t)
|
q = {1260, -786, 630, 315, -1572}; t = 1260
|
n = 0; r = 0; s = [[5, 3], [7]]; y = 1
|
n = y % len(s[r])
|
n = 1; r = 0; s = [[5, 3], [7]]; y = 1
|
j = 0; y = [100, 100, 0, 0, -100]
|
x += y[j]
|
j = 0; x = 28; y = [100, 100, 0, 0, -100]
|
z = 1.2
|
z = z / 10
|
z = 0.12
|
e = 'akakak'; g = [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; i = 3
|
g[ord(e[i]) - ord('a')] += 1
|
e = 'akakak'; g = [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; i = 3
|
i = 2; n = 1; z = [1, 2, 3, 3]
|
n += z[i - 1]
|
i = 2; n = 3; z = [1, 2, 3, 3]
|
x = [2, 4, 5, 6, 7, 9, 11, 12]
|
n = x[0]
|
n = 2; x = [2, 4, 5, 6, 7, 9, 11, 12]
|
d = 8.0; n = 25.0; p = 3.141592653589793; z = 0.14159265358979312
|
z = abs(n / d - p)
|
d = 8.0; n = 25.0; p = 3.141592653589793; z = 0.016592653589793116
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.