Hello i have a weird doubt..
MY code is
def prints():
print " I WILL DIE HEHE"
def add(a,b):
next = a
print " Added sum is %d " % (next + b)
next = prints()
w = int(raw_input("Give a"))
g = int(raw_input("Give b"))
add(w,g)
Now the problem is why does the function prints() gets executed while i assign it to next i.e. next = prints(). I am little confused.
prints()tonext?