I am trying to get the following output until a certain condition is met.
test_1.jpg test_2.jpg .. test_50.jpg
The solution (if you could remotely call
for j in range(1,10): print("test_{0}.jpg".format(j))
enter image description here