Sep-22-2016, 02:37 PM
I ave some code which looks something as follows...
Latter I want to use it in another function calculations.. it sould only update that value and rst should be the same..!!
Any idea??
class xyz: def anything(self): if condition: if condition: return something else: return somethingelse elif Condition: return something else: return something def calculations(self): x= something+5 y= somethingelse+10I dont know what the function anything will return weather something or somethingelse..
Latter I want to use it in another function calculations.. it sould only update that value and rst should be the same..!!
Any idea??