def range(num, stop):
	if stop is not None:
		i = num
		num = stop
	else:
		i = 0
	arr = []
	while i < num:
		arr.append(i)
		i += 1
	return arr
Emulates Python's range function
dataset/ETHPy150Open PythonJS/PythonJS/pythonjs/runtime/lua_builtins.py/range