python goto 用法
pip install goto-statement
from goto import with_goto
@with_goto
def range(start, stop):
i = start
result = []
label.begin
print("转到begin")
if i == stop:
goto.end
result.append(i)
i += 1
goto.begin
label.end
print("转到end")
return result
range(2, 3)