I have issue where i want to create Dynamic function which will do some calculation based to values retrieved from database, i am clear with my internal calculation but ques
This answer may be assuming your intentions are too simplistic, but it appears as if you want to set a value for particular function calls.
Would you consider something like the following?
def setEffort(n): effort = str(n)+'d'