Mar-09-2021, 01:34 AM
Sorry to be a pain but I'm still struggling. Now my code looks like this
def function1():
ans = 4
## I tried with adding return ans and just no line here and neither worked
def function2(ans):
print(ans)
function1()
function2()
def function1():
ans = 4
## I tried with adding return ans and just no line here and neither worked
def function2(ans):
print(ans)
function1()
function2()