String Python Tutorial

chapters = {1:5, 2:46, 3:52, 4:87, 5:90}
print
for x in chapters:
    print "Chapter %d %15s" % (x,str(chapters[x]))