condensed code in 'for' loop
Added a new format of printed book information