I have a string, which is a variable name. I have to pass that variable to another function to get proper output. I tried using backtick and other techniques. What are the other ways to do that? I am a beginner and don't have much expertise in python.
for i in range(1,65):
period_writer.writerow([i, max('test' + `i`)])
I want to pass the variable as test1, test2, ..... test64 to max() function and get the maximum value of those variables.
Thanks in advance