Ask Your Question

Revision history [back]

This can be done.

The only thing you need is a way to include the number in the filename.

Formatted strings can help with that:

save(result, f'filename_{i}')