[Tutor] print issue

ose micah osaosemwe at yahoo.com
Tue Oct 1 09:37:15 EDT 2019


 Thank you for the suggestion. I think its best I attach the code as used from file here.I have print issue with the final print format:What I did is open the file that contains subnets, read each line from this file and make use of each subnet to append a yaml formatted line in the samplefile.txt. Here is my desired output in the samplefile.txt: 


I pick each subnets from output.txt is:


Here is my current lines of code: 


But here is my current Undesired output which I need changed:


Can anyone help me get my desired output as shown below:



Thanks
Mike


More information about the Tutor mailing list