Udpated python output to use .format().