For example, there is a line:
print('value of 1 variable: ' + var1) And it is necessary to successively copy such lines N times in order to achieve :
print('value of 1 variable: ' + var1) ... print('value of N variable: ' + varN) Is there a native way in emacs in order not to manually change the numbers in the strings and variable names? If so, can you do the same things, only use a function or a list of variables instead of a primitive auto-increment ?