I have this code
for i in range(10):
variablename = "file" + str(i)
and I want to be able to go generate variables depending on the i
variable
like if range was to 10 would have variables like this
- file1
- file2
- file3
- file4
- file5
- file6
- file7
- file8
- file9
- file10
How would I do this?