Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Another reason why for loops are useful #525
In the section about for loops ...
Another reason why this is a bad approach is for maintenance. If we wanted to print each letter followed by a comma, for example, we would have to change four lines of code. If we have a for loop, with a single print(word[I]) then we need only change one line of code.