How do I have files become written within a loop?
TheFlooBearer (2)

In my code, I hope to have the program execution notice that the variables at the beginning are mentioned, and then once it gets to the end, to write those variables into the 'names.txt' file. Originally, I had hoped that the program would add the output into the file, but it does not seem to be adding anything at all. Where am I making the mistake?

You are viewing a single comment. View All
Answered by JustARatherRidi (190) [earned 5 cycles]
View Answer
TheFlooBearer (2)

@JustARatherRidi It's mainly just as an exercise. Nothing too special.