I'm not sure if they covered lists at that point, but you could also do:
prefix = ['J', 'K', 'L', 'M', 'N', 'Ou', 'P', 'Qu']
suffix = 'ack'
for letter in prefix:
print letter + suffix Your solution works, but it's not the easiest code to maintain. Try adding a few prefixes to both codes and see which is easier to modify, ie - make it also say Tack, Uack, Vack. Which is easier?