Remove redundant prints
Replace % formatting with str.format