Python script giving different output with same input

anybody knows why is is this occurring…I am using dynamo version 2.3.0

found a possible reason…I have used one function in the script and its output variable was getting updated in each run…means I was not making the output variable empty when each time it is called.