name = 'Alex'
variable = (
    """My name is {0} and it has been {0} since I was born.
          My parents decided to call me {0} because they thought {0} was a nice name.
          {0} is the same as {0}."""
    .format(name))
Output formatting in Python: replacing several %s with the same variable