I am having difficulty combining strings and numbers all in one long line. The result should increment the number count in the long string. The end result should read like this:
(snip)172.16.1.0/27 172.16.1.32/27 172.16.1.64/27 (snip)
The third octet '1' should increment.
count = 0
while (count < 64):
print ',,172.16.' + str(count)
print ',,172.16.' + str(count)'.0/27,172.16.count.32/27,172.16.count.64/27,29,172.16.count.96/27,,,,172.17.count.0/27,172.17.count.32/27,172.17.count.64/27,29,172.17.count.96/27'
count = count + 1