python reduce print statement line

Question:

how to reduce print statement line to below 80 characters. still want all to be printed on a single line in console

 print("Adding model: {0} with average giveaway of {1} created at {2}, which is {3} days ago"
                      .format(m.name,
                              m.tags["Mean Giveaway(g)"],
                              m.created_time,
                              (tmzUTC.localize(datetime.utcnow()) -
                               m.created_time).days
                              )
                      )
Asked By: mp2000

||

Answers:

Implicit string concatenation:

print("Adding model: {0} with average "
      "giveaway of {1} created at {2}, "
      "which is {3} days ago"
      .format(m.name,
              m.tags["Mean Giveaway(g)"],
              m.created_time,
              (tmzUTC.localize(datetime.utcnow()) -
               m.created_time).days
              )
      )
Answered By: Yevhen Kuzmovych
Categories: questions Tags:
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.