def test(str):
・def closure():
・・print(str)
・return closure


c = test("closure test");
c()