This commit is contained in:
2023-11-20 10:45:54 +08:00
parent 4e7244ddf3
commit 06272721de
2 changed files with 34 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
"""
This code is supported by the website: https://www.guanjihuan.com
The newest version of this code is on the web page: https://www.guanjihuan.com/archives/37680
"""
def func_example(a=1, b=2):
for i0 in range(3):
print(i0+1)
c = a + b
return a, b, c
import guan
return_data = guan.run(function_name=func_example, args=(3, 4), return_show=0, get_print=1)
print(return_data)