Can someone explain why I am not getting the concatenated value of the 1st name,2nd name & "Developers",once I call the out() function after giving both the inputs there is no output
def out():
x=input("Please input 1st name: ")
y=input("Please input 2nd name: ")
def inn():
return x+y
def inn1():
b=inn()+"developers"
print(b)
inn1()
inn()
After you have called
inn()
your program stops at thereturn
block. Therefore,inn1()
is never run. Instead, try: