start
stringlengths 5
368
| code
stringlengths 5
143
| end
stringlengths 5
527
|
---|---|---|
g = 1; i = [2, 5]
|
del i[g]
|
g = 1; i = [2]
|
i = 1; j = 3; k = 3
|
j = i + k
|
i = 1; j = 4; k = 3
|
j = 3; n = 10; s = 7
|
n = j * (s - j)
|
j = 3; n = 12; s = 7
|
h = [5, 10, 3]; i = 0; j = 2
|
p.append(h[i] - h[j])
|
h = [5, 10, 3]; i = 0; j = 2; p = [2]
|
i = 0; j = [1, 2, 3, 5, 4]; u = 1
|
i = j.index(u)
|
i = 0; j = [1, 2, 3, 5, 4]; u = 1
|
s = 'aba'
|
i, j = 0, len(s) - 1
|
i = 0; j = 2; s = 'aba'
|
i = 10
|
i += 1
|
i = 11
|
j = 1
|
b = chr(j + 97)
|
b = 'b'; j = 1
|
j = 4; n = 6; y = 18
|
y = n * j
|
j = 4; n = 6; y = 24
|
h = 2
|
h += 1
|
h = 3
|
c = 2; q = 3; t = 2; v = [[1, 3, 1], [2, 1, 2], [3, 3, 3]]
|
q += v[t][c]
|
c = 2; q = 6; t = 2; v = [[1, 3, 1], [2, 1, 2], [3, 3, 3]]
|
s = ( ' Freemasonry, at any rate as he saw it here, sometimes seemed to him based merely on externals' )
|
s = s.strip()
|
s = 'Freemasonry, at any rate as he saw it here, sometimes seemed to him based merely on externals'
|
g = 24; m = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x']
|
m.append(chr(ord('a') + g))
|
g = 24; m = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y']
|
p = [2, 5, 100]; q = [100, 0, -100, 0, 0, 0]
|
q[p[0] - 1] += p[2]
|
p = [2, 5, 100]; q = [100, 100, -100, 0, 0, 0]
|
d = 1.0; k = 5; s = 5.0
|
s -= k * d
|
d = 1.0; k = 5; s = 0.0
|
j = 0; l = [1, 0, 2]; u = [[0, 0], [1, 0], [0, 0]]
|
l[j + 1] = max(u[j + 1][1] + 1, l[j] + 1)
|
j = 0; l = [1, 2, 2]; u = [[0, 0], [1, 0], [0, 0]]
|
p = 17; s = 60
|
s -= p
|
p = 17; s = 43
|
x = 4
|
x += 1
|
x = 5
|
z = 1260
|
z *= 2
|
z = 2520
|
h = 7; i = 8; j = [0, 1, 2, 1, 0, 3, 0, 3]; k = 4; r = 10
|
k = min(j[2 * h - i], r - i)
|
h = 7; i = 8; j = [0, 1, 2, 1, 0, 3, 0, 3]; k = 0; r = 10
|
a = 'b'; b = 'n'; r = ['b', 'o']
|
a, b = r
|
a = 'b'; b = 'o'; r = ['b', 'o']
|
j = 28657; s = {1, 2, 3, 5, 8, 13, 144, 21, 2584, 34, 17711, 55, 1597, 10946, 4181, 89, 987, 610, 233, 6765, 377}
|
s.add(j)
|
j = 28657; s = {1, 2, 3, 5, 8, 13, 144, 21, 2584, 34, 17711, 55, 1597, 10946, 4181, 89, 987, 610, 233, 6765, 28657, 377}
|
c = 'c'; z = {'a': 0, 'b': 0, 'c': 0}
|
z[c] += 1
|
c = 'c'; z = {'a': 0, 'b': 0, 'c': 1}
|
i = 3.725290298461914e-09; y = 2
|
i /= y
|
i = 1.862645149230957e-09; y = 2
|
d = [(1, 0)]; g = 0; l = 0
|
d.append(tuple([l, g]))
|
d = [(1, 0), (0, 0)]; g = 0; l = 0
|
i = 1; j = 2; m = 11; y = 12; z = '16'
|
y = (y + int(z[j - i - 1]) * (j - i) * m) % (10 ** 9 + 7)
|
i = 1; j = 2; m = 11; y = 23; z = '16'
|
b = 1; c = 2; o = [[1, 3, 1], [2, 1, 2], [3, 3, 3]]; t = 1
|
b += o[t][c]
|
b = 3; c = 2; o = [[1, 3, 1], [2, 1, 2], [3, 3, 3]]; t = 1
|
r = ['Harry', 'Berry']
|
r.sort()
|
r = ['Berry', 'Harry']
|
a = 121393; z = {1, 2, 3, 5, 8, 13, 144, 75025, 21, 2584, 46368, 34, 17711, 55, 1597, 10946, 4181, 89, 987, 610, ...}
|
z.add(a)
|
a = 121393; z = {1, 2, 3, 5, 8, 13, 144, 75025, 21, 2584, 46368, 34, 17711, 121393, 55, 1597, 10946, 4181, 89, 987, Ellipsis, 610}
|
i = 0; j = 5; s = 6
|
s = min(s, abs(i - j))
|
i = 0; j = 5; s = 5
|
a = 'ab'; c = ['a', 'ab', 'abb', 'aabb', 'b', 'bb', 'abb', 'b']
|
c.append(a)
|
a = 'ab'; c = ['a', 'ab', 'abb', 'aabb', 'b', 'bb', 'abb', 'b', 'ab']
|
c = ' '; e = 'cab '; i = 2
|
c = e[i]
|
c = 'b'; e = 'cab '; i = 2
|
m = 9; s = {2, 3, 4, 5, 6, 7, 8, 9}
|
s.discard(m)
|
m = 9; s = {2, 3, 4, 5, 6, 7, 8}
|
a = deque([3, 3, 2, 1]); m = 4
|
m = a.popleft()
|
a = deque([3, 2, 1]); m = 3
|
r = ( 'In the third category he included those Brothers (the majority) who saw nothing ' ); x = 'in'
|
r += x + ' '
|
r = 'In the third category he included those Brothers (the majority) who saw nothing in '; x = 'in'
|
h = [['+', '-', '+', '+', '+', '+'], ['+', '-', '+', '+', '+', '+'], ['+', '-', '-', '-', '+', '+'], ['+', '-', '+', '+', '+', '+'], ['+', '+', '+', '+', '+', '+'], ['+', '+', '+', '+', '+', '+']]; r = ['+', '+', '+', '+', '+', '+', '+', '+', '+', '+']
|
h.append(r)
|
h = [['+', '-', '+', '+', '+', '+'], ['+', '-', '+', '+', '+', '+'], ['+', '-', '-', '-', '+', '+'], ['+', '-', '+', '+', '+', '+'], ['+', '+', '+', '+', '+', '+'], ['+', '+', '+', '+', '+', '+'], ['+', '+', '+', '+', '+', '+', '+', '+', '+', '+']]; r = ['+', '+', '+', '+', '+', '+', '+', '+', '+', '+']
|
f = [0, 0, 0, 0, 2, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; o = 6
|
f[o] += 1
|
f = [0, 0, 0, 0, 2, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; o = 6
|
l = 207; v = {(203): 1, (204): 2, (205): 2, (206): 2, (207): 1, (208): 1}
|
del v[l]
|
l = 207; v = {203: 1, 204: 2, 205: 2, 206: 2, 208: 1}
|
i = 12; s = 16
|
s += i
|
i = 12; s = 28
|
b = [[1, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0]]; j = 1
|
b[0][j] = 1
|
b = [[1, 1, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0]]; j = 1
|
i = ['from', 'the', 'moon', 'he', 'went', 'to', 'the', 'she', 'went', 'to', 'the', 'drawing', 'room', '']; j = 0; v = ['room', '']
|
v = i[j:j + 3]
|
i = ['from', 'the', 'moon', 'he', 'went', 'to', 'the', 'she', 'went', 'to', 'the', 'drawing', 'room', '']; j = 0; v = ['from', 'the', 'moon']
|
c = 'c'; i = 7
|
c = chr(i + 96)
|
c = 'g'; i = 7
|
y = []
|
n = y.append
|
n = <built-in method append of list object at 0x7f1bf4c008c0>; y = []
|
c = 1; l = 0; x = [[0, 1, 0, 0], [0, 1, 1, 0], [0, 0, 1, 0], [1, 0, 0, 0]]
|
x[l][c] = 0
|
c = 1; l = 0; x = [[0, 0, 0, 0], [0, 1, 1, 0], [0, 0, 1, 0], [1, 0, 0, 0]]
|
j = 2; l = 5; t = [4, 0, 3, 1]
|
t.append(l - (j + 1))
|
j = 2; l = 5; t = [4, 0, 3, 1, 2]
|
a = 'got'; f = {'ive': 1}
|
f[a] = 1
|
a = 'got'; f = {'ive': 1, 'got': 1}
|
b = 6; i = 2; x = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97]
|
b *= x[i]
|
b = 30; i = 2; x = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97]
|
s = ['a', 'b']
|
j = len(s) - 1
|
j = 1; s = ['a', 'b']
|
b = [1, 1, 2, 6, 24, 120, 720, 16340084, 996745124, 798197261, 286427093, 331333826, 536698543, 422103593]; i = 67; w = 1000000007
|
b.append(b[-1] * i % w)
|
b = [1, 1, 2, 6, 24, 120, 720, 16340084, 996745124, 798197261, 286427093, 331333826, 536698543, 422103593, 280940535]; i = 67; w = 1000000007
|
a = [1, 1, 1, 1]; j = 0; n = 4
|
j = (j + a[j] + 1) % n
|
a = [1, 1, 1, 1]; j = 2; n = 4
|
d = [[], []]; i = 0; j = 0
|
d[j].append(i + 1)
|
d = [[1], []]; i = 0; j = 0
|
j = 1; l = 1; n = ['a']; s = 'abba'
|
n.append(s[j:j + l])
|
j = 1; l = 1; n = ['a', 'b']; s = 'abba'
|
c = array([-10.0, -8.0, 4.0, 3.0, 2.0, 1.0]); m = 139646708188464, 139647167280384; z = set()
|
z.add(m)
|
c = array([-10., -8., 4., 3., 2., 1.]); m = (139646708188464, 139647167280384); z = {(139646708188464, 139647167280384)}
|
r = 'Such were Willarski and even the Grand Master of the principal lodge. '; x = 'Finally,'
|
r += x + ' '
|
r = 'Such were Willarski and even the Grand Master of the principal lodge. Finally, '; x = 'Finally,'
|
l = 2; m = 1
|
k[l] = m
|
k = {2: 1}; l = 2; m = 1
|
n = 3
|
n //= 2
|
n = 1
|
b = [[1, 0, 1, 1, 1, 2], [1, 0, 1, 1, 1, 2], [1, 0, 1, 1, 1, 2], [1, 0, 1, 1, 1, 2]]; m = 2; n = 4; x = 0
|
x = b[m - 1][n] if m > 0 else 0
|
b = [[1, 0, 1, 1, 1, 2], [1, 0, 1, 1, 1, 2], [1, 0, 1, 1, 1, 2], [1, 0, 1, 1, 1, 2]]; m = 2; n = 4; x = 1
|
i = 25, 64, 100; l = 170; z = 1000
|
l = sum(i) % z
|
i = (25, 64, 100); l = 189; z = 1000
|
c = 2; m = {(203): 2, (204): 3, (205): 3, (206): 3}; x = 207
|
c = m.get(x, 0)
|
c = 0; m = {203: 2, 204: 3, 205: 3, 206: 3}; x = 207
|
d = ['i', 'came', 'from', 'the', 'moon', 'he', 'went', 'she', 'went', 'to', 'the', 'drawing', 'room', '']; i = 0
|
m = d[i:]
|
d = ['i', 'came', 'from', 'the', 'moon', 'he', 'went', 'she', 'went', 'to', 'the', 'drawing', 'room', '']; i = 0; m = ['i', 'came', 'from', 'the', 'moon', 'he', 'went', 'she', 'went', 'to', 'the', 'drawing', 'room', '']
|
h = [[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]]; i = 3; j = 2; v = 9
|
v = sum(h[i][j:j + 3]) + h[i + 1][j + 1] + sum(h[i + 2][j:j + 3])
|
h = [[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]]; i = 3; j = 2; v = 19
|
n = 12
|
t = n
|
n = 12; t = 12
|
g = 2; j = 10
|
j = g
|
g = 2; j = 2
|
b = 1; n = ['a', 'c', 'x', 'z']
|
b = ord(n[b])
|
b = 99; n = ['a', 'c', 'x', 'z']
|
i = 7; x = [6, 2, 2, 1, 4, 1, 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]; y = [0, 6, 8, 10, 11, 15, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
y[i] = y[i - 1] + x[i - 1]
|
i = 7; x = [6, 2, 2, 1, 4, 1, 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]; y = [0, 6, 8, 10, 11, 15, 16, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
p = {(1): 0, (2): 6, (3): -1, (4): -1}; s = [6]; y = [3]
|
p[y[0]] = s[0]
|
p = {1: 0, 2: 6, 3: 6, 4: -1}; s = [6]; y = [3]
|
f = [[[0, 2, 0]], [[2, 2, 0], [0, 1, 1]], [[2, 2, 1], [1, 1, 2], [0, 0, 3]], [[2, 2, 3], [1, 1, 4], [0, 0, 5]], [], [], []]; i = 4; n = [[2, 2, 3], [1, 1, 4], [0, 0, 5]]; u = 2
|
n = [[u, u, f[i - 1][-1][SUM]]]
|
b = True; f = [[[0, 2, 0]], [[2, 2, 0], [0, 1, 1]], [[2, 2, 1], [1, 1, 2], [0, 0, 3]], [[2, 2, 3], [1, 1, 4], [0, 0, 5]], [], [], []]; i = 4; n = [[2, 2, 0]]; u = 2
|
a = 1600; e = 600; i = 600
|
e = abs(2 * i - a)
|
a = 1600; e = 400; i = 600
|
b = '17'; i = 0; j = 1; r = 8
|
r += int(b[j:j + 1]) * 2 ** i
|
b = '17'; i = 0; j = 1; r = 15
|
r = ['6', 'cd', True]; y = [['0', 'ab', True]]
|
y.append(r)
|
r = ['6', 'cd', True]; y = [['0', 'ab', True], ['6', 'cd', True]]
|
w = 14
|
w += 1
|
w = 15
|
g = 0.0; t = 1.0737418240000003e-21
|
g += t
|
g = 1.0737418240000003e-21; t = 1.0737418240000003e-21
|
e = [[1, 2], [0], [0], [1], []]; x = 4; y = 2
|
e[y - 1].append(x - 1)
|
e = [[1, 2], [0, 3], [0], [1], []]; x = 4; y = 2
|
d = {(1): 3, (5): 7, (3): 5, (4): 6, (2): 4}; x = 1
|
f = d[d[x]]
|
d = {1: 3, 5: 7, 3: 5, 4: 6, 2: 4}; f = 5; x = 1
|
l = '5555'
|
l = l + str(5)
|
l = '55555'
|
v = ['+-++++++++', '+-++++++++', '+-++++++++', '+-----++++']; y = '+-+++-++++'
|
v.append(y)
|
v = ['+-++++++++', '+-++++++++', '+-++++++++', '+-----++++', '+-+++-++++']; y = '+-+++-++++'
|
i = 2; t = [4]; u = [0, 1, 2, 3]
|
t.append(u[i])
|
i = 2; t = [4, 2]; u = [0, 1, 2, 3]
|
f = 17; h = 30; y = 28
|
g = [f, y, h]
|
f = 17; g = [17, 28, 30]; h = 30; y = 28
|
f = 1.200000000000001e-64
|
f = f / 10
|
f = 1.200000000000001e-65
|
x = [1, 3, 4]
|
p = x[0]
|
p = 1; x = [1, 3, 4]
|
a = '2'; b = '3'
|
a, b = [int(a), int(b)]
|
a = 2; b = 3
|
a = [3, 4, 4, 4, 8]; j = 8; l = 1; m = [0, 0, 0, 3, 4, 4, 6, 7, 7, 0]
|
m[j] = max(m[j], a[l] + m[j - a[l]])
|
a = [3, 4, 4, 4, 8]; j = 8; l = 1; m = [0, 0, 0, 3, 4, 4, 6, 7, 8, 0]
|
c = 7; i = 16; j = 11
|
c = j ^ i
|
c = 27; i = 16; j = 11
|
h = 'd'; k = {'c'}
|
k.add(h)
|
h = 'd'; k = {'c', 'd'}
|
l = 2; p = 'a'; s = 'abba'; y = 0
|
p = ''.join(sorted(s[y:y + l]))
|
l = 2; p = 'ab'; s = 'abba'; y = 0
|
i = 2; j = 4; k = 4; l = [1, 2, 3, 4, 10, 20, 30, 40, 100, 200, 0]; z = [1, 3, 6, 10, 20, 40, 70, 110, 210, 410]
|
p = (k - 1) * l[j] - (z[j - 1] - z[i - 1])
|
i = 2; j = 4; k = 4; l = [1, 2, 3, 4, 10, 20, 30, 40, 100, 200, 0]; p = 23; z = [1, 3, 6, 10, 20, 40, 70, 110, 210, 410]
|
j = 7; q = 3.141592653589793; t = 20; z = 0.14159265358979312
|
z = abs(q - float(t) / float(j))
|
j = 7; q = 3.141592653589793; t = 20; z = 0.2844497964469359
|
v = 'ba'
|
p = len(v)
|
p = 2; v = 'ba'
|
h = {'D': 2, 'F': 2, 'Q': 3}; i = 'A'
|
h[i] = 1
|
h = {'D': 2, 'F': 2, 'Q': 3, 'A': 1}; i = 'A'
|
a = {(0): [0]}; i = 1; o = 1
|
a[o] = [i]
|
a = {0: [0], 1: [1]}; i = 1; o = 1
|
d = [1]; i = 1
|
d.append(i)
|
d = [1, 1]; i = 1
|
n = OrderedDict([('BANANA FRIES', 12), ('POTATO CHIPS', 30), ('APPLE JUICE', 10)]); r = 5; u = 'CANDY'
|
n[u] = r
|
n = OrderedDict([('BANANA FRIES', 12), ('POTATO CHIPS', 30), ('APPLE JUICE', 10), ('CANDY', 5)]); r = 5; u = 'CANDY'
|
v = 0.0; z = 12.0
|
v = z
|
v = 12.0; z = 12.0
|
q = 1; r = 10; t = 9; v = 9
|
v = abs(r - q) + t
|
q = 1; r = 10; t = 9; v = 18
|
l = [1, 2, 3, 4, 10, 20, 30, 40, 100, 200]
|
l.append(0)
|
l = [1, 2, 3, 4, 10, 20, 30, 40, 100, 200, 0]
|
b = [1, 5, 10]; i = 3; n = 5
|
b.append(b[i - 1] * (n - i + 1) // i)
|
b = [1, 5, 10, 10]; i = 3; n = 5
|
c = 2
|
b = c
|
b = 2; c = 2
|
f = 2; i = 1; k = [2, 1, 1]
|
f = f + k[i]
|
f = 3; i = 1; k = [2, 1, 1]
|
c = 73; e = 73; i = 1
|
e = c + i
|
c = 73; e = 74; i = 1
|
a = 0; b = 0; j = 4; u = 1; x = [(0, 0), (0, 0), (1, 0), (2, 0), (3, 0)]
|
a, b = x[j + 1 - u]
|
a = 3; b = 0; j = 4; u = 1; x = [(0, 0), (0, 0), (1, 0), (2, 0), (3, 0)]
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.