Mar-09-2021, 02:41 AM
Maybe this will help
def func1(): return 4+4 ans = func1() print(f'This is the return from func1 -> {ans}') def func2(ans): print(f'This is the return from func1 inside of func2 -> {ans}') func2(ans)
Output:This is the return from func1 -> 8
This is the return from func1 inside of func2 -> 8
I welcome all feedback.
The only dumb question, is one that doesn't get asked.
My Github
How to post code using bbtags
The only dumb question, is one that doesn't get asked.
My Github
How to post code using bbtags