from plivo import plivoxml
response = plivoxml.ResponseElement()
response.add(plivoxml.PreAnswerElement().add(
plivoxml.SpeakElement('This call will cost you $2 a minute.')))
response.add(plivoxml.SpeakElement('Hey, thanks for dropping by.'))
print(response.to_string())