There are several ways.
If you have a sequence of files, then look how you generated the sequence in the first place, probably you used some numpy.arange or numpy.linspace() command. Then use the same command to re-generate the names.
If you just have 4-5 files, it's also easy to just do a list
for i in [1.5, 1.6, 1.7, 1.8, 1.9]:
scf = restoreSelfConsistentCalculation("a%g.nc" % i)
...
For your example, probably this would be better:
import numpy
for i in numpy.arange(1.5,1.91,0.1):
scf = restoreSelfConsistentCalculation("a%g.nc" % i)
...