****** Answer to a student question about how to get the formatting of the grade report ******* ****** so that the average grades line up nicely. This is just one way to do it. ******* ****** There are better ways, but this is a great way to get extra loop PRACTICE! ******* Suppose formattedName is the variable where you have "Jacobson, Mark" and "Hopper, Grace" "Smith, Jim" "Ford, Jo" spaces = 20 - len(formattedName) will be 6 for my name but will be 10 for Jim Smith name, right? spaces = 20 - len("Ford, Jo") would be 12 when Ford, Jo is the contents of the -------- name variable. More spaces after a SHORT NAME, fewer spaces after a longer name. trailingSpaces = "" for i in range(spaces): trailingSpaces = trailingSpaces + " " will create the 6 or the 10 or the 4 or the 8 needed spaces to put after the Jacobson, Mark so that ALL the averages are lined up nicely. Mark