Say i have the two methods:
def ReturnMethod(re quest, x):
if request is True:
return x
else: print "No String for you...False!"
def SendMethod(requ est):
xstring = "Some text"
ReturnMethod(re quest, xstring)
SendMethod(True )
Why does ReturnMethod not return the string x? I do believe it is
returning with a NoneType.
Any help would be greatly obliged
Thanks, Josh
def ReturnMethod(re quest, x):
if request is True:
return x
else: print "No String for you...False!"
def SendMethod(requ est):
xstring = "Some text"
ReturnMethod(re quest, xstring)
SendMethod(True )
Why does ReturnMethod not return the string x? I do believe it is
returning with a NoneType.
Any help would be greatly obliged
Thanks, Josh
Comment