I have a list of dicts with the fields classid, dept, coursenum, area, and title from a sql query. I would like to output the values in a human readable format. I was thinki
You can simply left justify the string to a certain number of characters if you want to keep it simple:
print string1.ljust(20) + string2.ljust(20)