Github Experimental restricted subset of Python for safe evaluation by @readevalprint

Welcome to the Online Sneklang evaluator

This is experimental restricted subset of Python for safe evaluation.

The default scope contains the following variables: ['True', 'False', 'None', 'int', 'float', 'str', 'list', 'tuple', 'dict', 'set', 'len', 'exec', 'min', 'max', 'any', 'all', 'round', 'isinstance', 'Exception', 'enumerate']

If you find something that looks wrong please open an issue.

Previous Evaluation

a = ["hi", "world"]
" ".join(a)
FeatureNotAvailable('This function is not allowed. at line: 2, column:0')
Link time elapsed: 0.631 ms
x = 'foo' * 50000
str(x) * 50000
SnekArithmeticError('Sorry, I will not evalute something that long. at line: 1, column:4')
Link time elapsed: 0.425 ms
i=1
x = [0, 0, 1]

while x[-1]:
	
	x[i] = x[i] + 1
	
	x[i] = x[i] % 4
	if x[i] != 0:
		i = 0
	i = i + 1
x
[None, None, None, [0, 0, 0]]
Link time elapsed: 11.772 ms
i=1
x = [0, 0, 1]

while x[-1]:
	
	x[i] = x[i] + 1
	
	x[i] = x[i] % 4
	if x[i] != 0:
		i = 0
	i = i + 1
[None, None, None]
Link time elapsed: 14.785 ms
i=1
x = [0, 0, 0, 1]

while x[-1]:
	
	x[i] = x[i] + 1
	
	x[i] = x[i] % 7
	if x[i] != 0:
		i = 0
	i = i + 1
TooManyEvaluations('This program has too many evaluations at line: 6, column:8')
Link time elapsed: 252.905 ms
i=1
x = [0, 0, 0, 1]

while x[-1]:
	x[i] = x[i] + 1
	
	x[i] = x[i] % 255
	if x[i] != 0:
		i = 0
	i = i + 1
TooManyEvaluations('This program has too many evaluations at line: None, column:None')
Link time elapsed: 255.497 ms
i=1
x = [0, 0, 0, 1]

while x[6]:
	x[i] = x[i] + 1
	
	x[i] = x[i] % 7
	if x[i] != 0:
		i = 0
	i = i + 1
SnekLookupError('list index out of range at line: 4, column:6')
Link time elapsed: 0.515 ms
i=1
x = [0, 0, 0, 0, 1]

while x[6]:
	x[i] = x[i] + 1
	
	x[i] = x[i] % 255
	if x[i] != 0:
		i = 0
	i = i + 1
SnekLookupError('list index out of range at line: 4, column:6')
Link time elapsed: 0.614 ms
x = 'foo' * 500
str(x)
[None,
 'foofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoofoo…
Link time elapsed: 0.898 ms
x = 'foo' * 500
str(x) * 500
SnekArithmeticError('Sorry, I will not evalute something that long. at line: 2, column:0')
Link time elapsed: 0.571 ms
#i=1
#x = [0, 0, 0, 0, 0, 0, 1]

#while x[6]:
#	x[i] = x[i] + 1
#
#	x[i] = x[i] % 255
#	if x[i] != 0:
#		i = 0
#	i = i + 1

[i for i in [1, 2, 3]]
[[1, 2, 3]]
Link time elapsed: 0.749 ms
i=1
x = [0, 0, 0, 0, 0, 0, 1]

while x[6]:
	x[i] = x[i] + 1
	
	x[i] = x[i] % 255
	if x[i] != 0:
		i = 0
	i = i + 1
TooManyEvaluations('This program has too many evaluations at line: 8, column:4')
Link time elapsed: 317.335 ms
i=1
x = [0, 0, 0, 0, 0, 0, 1]

while x[6]:
	x[i] += 1
	
	x[i] %= 255
	if x[i] != 0:
		i = 0
	i += 1
FeatureNotAvailable('Sorry, AugAssign is not available in this evaluator at line: 5, column:1')
Link time elapsed: 0.809 ms
[x for x in range(17)]
NameNotDefined("'range' is not defined at line: 1, column:12")
Link time elapsed: 0.298 ms
def ack(m, n):
	if m == 0:
		return n+1
	elif n == 0:
		return ack(m-1, 1)
	else:
		return ack(m-1, ack(m, n-1))

ack(4, 4)
CallTooDeep('Sorry, stack is to large. The MAX_CALL_DEPTH is 32.  at line: 5, column:9')
Link time elapsed: 335.846 ms
def ack(m, n):
	if m == 0:
		return n+1
	elif n == 0:
		return ack(m-1, 1)
	else:
		return ack(m-1, ack(m, n-1))

ack(2, 2)
[None, 7]
Link time elapsed: 14.162 ms
def ack(m, n):
	if m == 0:
		return n+1
	elif n == 0:
		return ack(m-1, 1)
	else:
		return ack(m-1, ack(m, n-1))
[None]
Link time elapsed: 1.114 ms
b = []
i = 500
while i > 0:
	b = [b, [b], [[b]], [[[b]]]]
	i = i - 1
ScopeTooLarge('Scope has used too much memory: 44897 > 20000.0 at line: 5, column:5')
Link time elapsed: 125.462 ms
import sys
sys.recursionlimit = 15000

b = []
i = 500
while i > 0:
	b = [b, [b], [[b]], [[[b]]]]
	i = i - 1
SnekImportError("'sys' at line: 1, column:0")
Link time elapsed: 0.515 ms
b = []
i = 50
while i > 0:
	b = [b, [b]]
	i = i - 1
b
ScopeTooLarge('Scope has used too much memory: 25100 > 20000.0 at line: 4, column:5')
Link time elapsed: 107.487 ms
a = ['lol'] * 25
b = [a,a,a,a,a,a,a,a,a,a]
c = [b,b,b,b,b,b,b,b,b,b]
d = [c,c,c,c,c,c,c,c,c,c]
e = [d,d,d,d,d,d,d,d,d,d]
f = [e,e,e,e,e,e,e,e,e,e]
g = [f,f,f,f,f,f,f,f,f,f]
h = [g,g,g,g,g,g,g,g,g,g]
i = [h,h,h,h,h,h,h,h,h,h]
j = [i,i,i,i,i,i,i,i,i,i]
j
ScopeTooLarge('Scope has used too much memory: 20199 > 20000.0 at line: 3, column:4')
Link time elapsed: 2.200 ms
a = ['lol'] * 50
b = [a,a,a,a,a,a,a,a,a,a]
c = [b,b,b,b,b,b,b,b,b,b]
d = [c,c,c,c,c,c,c,c,c,c]
e = [d,d,d,d,d,d,d,d,d,d]
f = [e,e,e,e,e,e,e,e,e,e]
g = [f,f,f,f,f,f,f,f,f,f]
h = [g,g,g,g,g,g,g,g,g,g]
i = [h,h,h,h,h,h,h,h,h,h]
j = [i,i,i,i,i,i,i,i,i,i]
j
ScopeTooLarge('Scope has used too much memory: 39624 > 20000.0 at line: 3, column:4')
Link time elapsed: 4.300 ms
a = ['lol'] * 20
b = [a,a,a,a,a,a,a,a,a,a]
c = [b,b,b,b,b,b,b,b,b,b]
d = [c,c,c,c,c,c,c,c,c,c]
e = [d,d,d,d,d,d,d,d,d,d]
f = [e,e,e,e,e,e,e,e,e,e]
g = [f,f,f,f,f,f,f,f,f,f]
h = [g,g,g,g,g,g,g,g,g,g]
i = [h,h,h,h,h,h,h,h,h,h]
j = [i,i,i,i,i,i,i,i,i,i]
j
ScopeTooLarge('Scope has used too much memory: 30541 > 20000.0 at line: 4, column:5')
Link time elapsed: 3.775 ms
b = []
i = 50
while i > 0:
	b = [b, [b]]
	i = i - 1
b
ScopeTooLarge('Scope has used too much memory: 25100 > 20000.0 at line: 4, column:5')
Link time elapsed: 180.058 ms
a = ['lol'] * 30
b = [a,a,a,a,a,a,a,a,a,a]
c = [b,b,b,b,b,b,b,b,b,b]
d = [c,c,c,c,c,c,c,c,c,c]
e = [d,d,d,d,d,d,d,d,d,d]
f = [e,e,e,e,e,e,e,e,e,e]
g = [f,f,f,f,f,f,f,f,f,f]
h = [g,g,g,g,g,g,g,g,g,g]
i = [h,h,h,h,h,h,h,h,h,h]
j = [i,i,i,i,i,i,i,i,i,i]
j
ScopeTooLarge('Scope has used too much memory: 24084 > 20000.0 at line: 3, column:4')
Link time elapsed: 3.904 ms
def deep_but_shared(n):
	result = []
	while n > 0:
		result = [
			result]
		n = n - 1
	return result

arr = deep_but_shared(20)
arr
[None, None, [[[[[[[[[[[[[[[[[[[[[]]]]]]]]]]]]]]]]]]]]]]
Link time elapsed: 6.702 ms
def deep_but_shared(n):
	result = []
	while n > 0:
		result = [
			result, result, result, result, result, result, result, result,
			result, result, result, result, result, result, result, result,
			result, result, result, result, result, result, result, result,
			result, result, result, result, result, result, result, result,
			result, result, result, result, result, result, result, result,
			result, result, result, result, result, result, result, result,
		]
		n = n - 1
	return result

arr = deep_but_shared(20)
arr
ScopeTooLarge('Scope has used too much memory: 447704 > 20000.0 at line: 12, column:2')
Link time elapsed: 29.318 ms
a = ['lol'] * 10
b = [a,a,a,a,a,a,a,a,a,a]
c = [b,b,b,b,b,b,b,b,b,b]
d = [c,c,c,c,c,c,c,c,c,c]
e = [d,d,d,d,d,d,d,d,d,d]
f = [e,e,e,e,e,e,e,e,e,e]
g = [f,f,f,f,f,f,f,f,f,f]
h = [g,g,g,g,g,g,g,g,g,g]
i = [h,h,h,h,h,h,h,h,h,h]
j = [i,i,i,i,i,i,i,i,i,i]
j
ScopeTooLarge('Scope has used too much memory: 80778 > 20000.0 at line: 5, column:0')
Link time elapsed: 6.648 ms
a = ['lol', 'lol', 'lol', 'lol', 'lol', 'lol', 'lol', 'lol', 'lol', 'lol']
b = [a,a,a,a,a,a,a,a,a,a]
c = [b,b,b,b,b,b,b,b,b,b]
d = [c,c,c,c,c,c,c,c,c,c]
e = [d,d,d,d,d,d,d,d,d,d]
f = [e,e,e,e,e,e,e,e,e,e]
g = [f,f,f,f,f,f,f,f,f,f]
h = [g,g,g,g,g,g,g,g,g,g]
i = [h,h,h,h,h,h,h,h,h,h]
j = [i,i,i,i,i,i,i,i,i,i]
j
ScopeTooLarge('Scope has used too much memory: 80778 > 20000.0 at line: 5, column:0')
Link time elapsed: 9.766 ms
def crash():
    try:
        crash()
    except:
        crash()
1
crash()
2
CallTooDeep('Sorry, stack is to large. The MAX_CALL_DEPTH is 32.  at line: 5, column:8')
Link time elapsed: 9.654 ms
b = []
i = 10
while i > 0:
	b = [b, [b]]
	i = i - 1
b
[None,
 None,
 None,
 [[[[[[[[[[[], [[]]], [[[], [[]]]]], [[[[], [[]]], [[[], [[]]]]]]],
        [[[[[], [[]]], [[[], [[]]]]], [[[[], [[]]], [[[], [[]]]]]]]]],
       [[[[[[], [[]]], [[[], [[]]]]], [[[[], [[]]], [[[], [[]]]]]]],
         [[[[[], [[]]], [[[], [[]]]]], [[[[], [[]]], [[[], [[]]]]]]]]]]],
      [[[[[[[], [[]]], [[[], [[]]]]], [[[[], [[]]], [[[], [[]]]]]]],
         [[[[[], [[]]], [[[], [[]]]]], [[[[], [[]]], [[[], [[]]]]]]]]],
        [[[[[[], [[]]], [[[], [[]]]]], [[[[], [[]]], [[[], [[]]]]]]],
          [[[[[], [[]]], [[[], [[]]]]], [[[[], [[]]], [[[], [[]]]]]]]]]]]]],
     [[[[[[[[], [[]]], [[[], [[]]]]], [[[[], [[]]], [[[], [[]]]]]]],
         [[[[[], [[]]], [[[], [[]]]]], [[[[], [[]]], [[[], [[]]]]]]]]],
        [[[[[[], [[]]], [[[], [[]]]]], [[[[], [[]]], [[[], [[]]]]]]],
          [[[[[], [[]]], [[[], [[]]]]], [[[[], [[]]], [[[], [[]]]]]]]]]]],
       [[[[[[[], [[]]], [[[], [[]]]]], [[[[], [[]]], [[[], [[]]]]]]],
          [[[[[], [[]]], [[[], [[]]]]], [[[[], [[]]]…
Link time elapsed: 148.623 ms
b = []
i = 13
while i > 0:
	b = [b, [b]]
	i = i - 1
b
ScopeTooLarge('Scope has used too much memory: 33297 > 20000.0 at line: 5, column:1')
Link time elapsed: 108.583 ms
b = []
i = 20
while i > 0:
	b = [b, [b]]
	i = i - 1
b
[None,
 None,
 None,
 [[[[[[[[[[[[[[[[[[[[[], [[]]], [[[], [[]]]]], [[[[], [[]]], [[[], [[]]]]]]],
                  [[[[[], [[]]], [[[], [[]]]]], [[[[], [[]]], [[[], [[]]]]]]]]],
                 [[[[[[], [[]]], [[[], [[]]]]], [[[[], [[]]], [[[], [[]]]]]]],
                   [[[[[], [[]]], [[[], [[]]]]],
                     [[[[], [[]]], [[[], [[]]]]]]]]]]],
                [[[[[[[], [[]]], [[[], [[]]]]], [[[[], [[]]], [[[], [[]]]]]]],
                   [[[[[], [[]]], [[[], [[]]]]],
                     [[[[], [[]]], [[[], [[]]]]]]]]],
                  [[[[[[], [[]]], [[[], [[]]]]], [[[[], [[]]], [[[], [[]]]]]]],
                    [[[[[], [[]]], [[[], [[]]]]],
                      [[[[], [[]]], [[[], [[]]]]]]]]]]]]],
               [[[[[[[[], [[]]], [[[], [[]]]]], [[[[], [[]]], [[[], [[]]]]]]],
                   [[[[[], [[]]], [[[], [[]]]]],
                     [[[[], [[]]], [[[], [[]]]]]]]]],
                  [[[[[[], [[]]], [[[], [[]]]]], [[[[], [[]]], [[[], [[]]]]]]],
  …
Link time elapsed: 484560.756 ms
b = []
i = 5
while i > 0:
	b = [b, [b]]
	i = i - 1
b
[None,
 None,
 None,
 [[[[[[], [[]]], [[[], [[]]]]], [[[[], [[]]], [[[], [[]]]]]]],
   [[[[[], [[]]], [[[], [[]]]]], [[[[], [[]]], [[[], [[]]]]]]]]],
  [[[[[[], [[]]], [[[], [[]]]]], [[[[], [[]]], [[[], [[]]]]]]],
    [[[[[], [[]]], [[[], [[]]]]], [[[[], [[]]], [[[], [[]]]]]]]]]]]]
Link time elapsed: 27.593 ms
def crash():
    try:
        crash()
    except:
        crash()

'test'
crash()
'test'
CallTooDeep('Sorry, stack is to large. The MAX_CALL_DEPTH is 32.  at line: 5, column:8')
Link time elapsed: 201.624 ms
b''
[b'']
Link time elapsed: 0.848 ms
def f():
	return 1
int = f
int()
[None, None, 1]
Link time elapsed: 4.950 ms
exec()
NameNotDefined("'exec' is not defined at line: 1, column:0")
Link time elapsed: 0.944 ms
help(exec)
NameNotDefined("'help' is not defined at line: 1, column:0")
Link time elapsed: 0.968 ms
exec('locals()')
NameNotDefined("'exec' is not defined at line: 1, column:0")
Link time elapsed: 3.121 ms
locals()
NameNotDefined("'locals' is not defined at line: 1, column:0")
Link time elapsed: 2.397 ms
int.__class__ = str
FeatureNotAvailable('Sorry, cannot assign to Attribute at line: 1, column:0')
Link time elapsed: 0.798 ms
getattr(int, '__class__')
NameNotDefined("'getattr' is not defined at line: 1, column:0")
Link time elapsed: 1.029 ms
b = []
i = 20
while i > 0:
	b = [b, [b]]
	i = i - 1
b

            Link
            time elapsed:  ms
        
b = []
i = 5
while i > 0:
	b = [b, [b]]
	i = i - 1
b

[None,
 None,
 None,
 [[[[[[], [[]]], [[[], [[]]]]], [[[[], [[]]], [[[], [[]]]]]]],
   [[[[[], [[]]], [[[], [[]]]]], [[[[], [[]]], [[[], [[]]]]]]]]],
  [[[[[[], [[]]], [[[], [[]]]]], [[[[], [[]]], [[[], [[]]]]]]],
    [[[[[], [[]]], [[[], [[]]]]], [[[[], [[]]], [[[], [[]]]]]]]]]]]]
Link time elapsed: 17.531 ms
b = []
i = 5
while i > 0:
	b = [b, [b]]
	i = i - 1
b
[None,
 None,
 None,
 [[[[[[], [[]]], [[[], [[]]]]], [[[[], [[]]], [[[], [[]]]]]]],
   [[[[[], [[]]], [[[], [[]]]]], [[[[], [[]]], [[[], [[]]]]]]]]],
  [[[[[[], [[]]], [[[], [[]]]]], [[[[], [[]]], [[[], [[]]]]]]],
    [[[[[], [[]]], [[[], [[]]]]], [[[[], [[]]], [[[], [[]]]]]]]]]]]]
Link time elapsed: 17.696 ms
def get_lines():
	for i in range(10):
		yield str(i) + ' line'

[line for line in get_lines()].join()
NameNotDefined("'range' is not defined at line: 2, column:10")
Link time elapsed: 3.389 ms
type(True)
NameNotDefined("'type' is not defined at line: 1, column:0")
Link time elapsed: 0.749 ms
snek_eval("1+1")
NameNotDefined("'snek_eval' is not defined at line: 1, column:0")
Link time elapsed: 4.026 ms
str(type(True).__str__)
FeatureNotAvailable('Sorry, access to this attribute is not available. (__str__) at line: 1, column:4')
Link time elapsed: 0.960 ms
type(True).__str__
FeatureNotAvailable('Sorry, access to this attribute is not available. (__str__) at line: 1, column:0')
Link time elapsed: 1.136 ms
type(True).__doc__
FeatureNotAvailable('Sorry, access to this attribute is not available. (__doc__) at line: 1, column:0')
Link time elapsed: 4.597 ms
type(True).__dict__
FeatureNotAvailable('Sorry, access to this attribute is not available. (__dict__) at line: 1, column:0')
Link time elapsed: 2.543 ms
True
[True]
Link time elapsed: 1.729 ms
from . import *
locals
KeyError(None)
Link time elapsed: 0.491 ms
from . import *
KeyError(None)
Link time elapsed: 1.012 ms
__main__
NameNotDefined("'__main__' is not defined at line: 1, column:0")
Link time elapsed: 0.664 ms
__name__
NameNotDefined("'__name__' is not defined at line: 1, column:0")
Link time elapsed: 0.835 ms
[]
Link time elapsed: 1.020 ms
print __name__
SyntaxError('invalid syntax', ('<unknown>', 1, 14, 'print __name__\n'))
Link time elapsed: 0.216 ms
print(__name__)
NameNotDefined("'print' is not defined at line: 1, column:0")
Link time elapsed: 0.974 ms
a = ["hi", "world"]
a.join("-")
SnekAttributeError("'list' object has no attribute 'join' at line: 2, column:0")
Link time elapsed: 4.278 ms
exec "ls"
SyntaxError('invalid syntax', ('<unknown>', 1, 9, 'exec "ls"\n'))
Link time elapsed: 0.162 ms
exec("ls")
NameNotDefined("'exec' is not defined at line: 1, column:0")
Link time elapsed: 0.942 ms
from collections import Counter

print(Counter({"a":1, "b":2}))
KeyError('collections')
Link time elapsed: 0.566 ms
b = set()
for i in range(50):
	b = {b, set(b)}
NameNotDefined("'range' is not defined at line: 2, column:9")
Link time elapsed: 1.545 ms
a = ["hi", "world"]
" ".join(a)i
SyntaxError('invalid syntax', ('<unknown>', 2, 12, '" ".join(a)i\n'))
Link time elapsed: 0.204 ms
a = ["hi", "world"]
" ".join(a)

print(a)
NameNotDefined("'print' is not defined at line: 4, column:0")
Link time elapsed: 3.406 ms
s = 'A'
n = len(s)
[None, None]
Link time elapsed: 2.180 ms
s = "A"
n = len(s)
[None, None]
Link time elapsed: 1.923 ms
s = 'A'
n = len(s)

n
[None, None, 1]
Link time elapsed: 2.040 ms
s = "A"

try:
	while s:
		s = s + s
except:
	s = s

n = len(s)
[None, None, None]
Link time elapsed: 32.475 ms
s = "A"

def f():
	global s
	s = s + s
	return s

try:
	while s:
		f()
except:
	s = s

n = len(s)
[None, None, None, None]
Link time elapsed: 8.451 ms
s = "A"

def f():
	global s
	s = s + s
	return s

try:
	while f():
		f()
except:
	s = s

n = len(s)
[None, None, None, None]
Link time elapsed: 9.434 ms
s = "A"

def f():
	global s
	s = s + s

try:
	while f():
		f()
except:
	s = s

n = len(s)
[None, None, None, None]
Link time elapsed: 8.620 ms
s = "A"

def f():
	global s
	s = s + s

try:
	while f():
		f()
except:
	print("pass")

print(len(s))
NameNotDefined("'print' is not defined at line: 11, column:1")
Link time elapsed: 7.831 ms
s = "A"

def f():
	global s
	s = s + s

try:
	while f():
		f()
except:
	pass

print(len(s))
FeatureNotAvailable('Sorry, Pass is not available in this evaluator at line: 11, column:1')
Link time elapsed: 3.282 ms
import builtins
SnekImportError("'builtins' at line: 1, column:0")
Link time elapsed: 0.608 ms
b = []
i = 500
while i > 0:
	b = [b, [b], [[b]], [[[b]]]]
	i = i - 1
ScopeTooLarge('Scope has used too much memory at line: 5, column:1')
Link time elapsed: 10898.203 ms
b = []
i = 50
while i > 0:
	b = [b, [b], [[b]], [[[b]]]]
	i = i - 1
[None, None, None]
Link time elapsed: 1801.912 ms
b = []
i = 50
while i > 0:
	b = [b, [b], [[b]], [[[b]]]]]
	i = i - 1
SyntaxError('invalid syntax', ('<unknown>', 4, 30, '\tb = [b, [b], [[b]], [[[b]]]]]\n'))
Link time elapsed: 0.158 ms
a=[]
while True:
	a=[a, [a, [a]]]
ScopeTooLarge('Scope has used too much memory at line: 2, column:6')
Link time elapsed: 13356.638 ms
a=0
while True:
	a=a+1
TooManyEvaluations('This program has too many evaluations at line: 3, column:1')
Link time elapsed: 5093.092 ms
a=0
while true
	a=a+1
SyntaxError('invalid syntax', ('<unknown>', 2, 11, 'while true\n'))
Link time elapsed: 0.147 ms
['True', 'False', 'None', 'int', 'float', 'str', 'list', 'tuple', 'dict', 'set', 'len', 'exec', 'min', 'max', 'any', 'all', 'round', 'isinstance', 'Exception', 'enumerate'].join(a)
SnekAttributeError("'list' object has no attribute 'join' at line: 1, column:0")
Link time elapsed: 5.359 ms
a = ["hi", "world"]
" ".join(a)['True', 'False', 'None', 'int', 'float', 'str', 'list', 'tuple', 'dict', 'set', 'len', 'exec', 'min', 'max', 'any', 'all', 'round', 'isinstance', 'Exception', 'enumerate'] 
SnekTypeError('string indices must be integers at line: 2, column:0')
Link time elapsed: 11.041 ms
a = "Hello"
a =  " World" .join(a)
[None, None]
Link time elapsed: 5.852 ms
a = "Hello"
a =  " World" join(a)
SyntaxError('invalid syntax', ('<unknown>', 2, 18, 'a =  " World" join(a)\n'))
Link time elapsed: 0.350 ms
a = "Hello"
a = a + " World"
[None, None]
Link time elapsed: 6.492 ms
a = "Hello"
a = a + " World"
print(a)
NameNotDefined("'print' is not defined at line: 3, column:0")
Link time elapsed: 1.731 ms
a =Hello"
a = a + " World"
print(a)
SyntaxError('EOL while scanning string literal', ('<unknown>', 1, 10, 'a =Hello"\n'))
Link time elapsed: 0.197 ms
a =Hello"
a = a + " World"
print a
SyntaxError('EOL while scanning string literal', ('<unknown>', 1, 10, 'a =Hello"\n'))
Link time elapsed: 0.603 ms
b = []
i = 50
while i > 0:
	b = [b, [b]]
	i = i - 1
i
[None, None, None, 0]
Link time elapsed: 645.175 ms
b = []
i = 50
while i > 0:
	b = [b, [b]]
	i = i - 1
	
str(b)

            Link
            time elapsed:  ms
        
b = []
i = 50
while i > 0:
	b = [b, [b]]
	i = i - 1
	
print(b)
NameNotDefined("'print' is not defined at line: 7, column:0")
Link time elapsed: 545.828 ms
b = []
i = 50
while i > 0:
	b = [b, [b]]
	i = i - 1
[None, None, None]
Link time elapsed: 576.766 ms
b = []
i = 50
while i > 0:
	b = [b, [b]]
	i -= 1
FeatureNotAvailable('Sorry, AugAssign is not available in this evaluator at line: 5, column:1')
Link time elapsed: 4.091 ms
b = set()
i = 50
while i > 0:
	b = {b, set(b)}
	i -= 1
TypeError("unhashable type: 'set'")
Link time elapsed: 2.379 ms
a = ["hi", "world"]
print(" ".join(a))
NameNotDefined("'print' is not defined at line: 2, column:0")
Link time elapsed: 1.321 ms
def deep_but_shared(n):
	result = []
	while n > 0:
		result = [
			result, result, result, result, result, result, result, result,
			result, result, result, result, result, result, result, result,
			result, result, result, result, result, result, result, result,
			result, result, result, result, result, result, result, result,
			result, result, result, result, result, result, result, result,
			result, result, result, result, result, result, result, result,
		]
		n = n - 1
	return result

arr = deep_but_shared(3)
arr
[None,
 None,
 [[[[],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    []],
   [[],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    []],
   [[],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],
    [],…
Link time elapsed: 2172.332 ms