Skip to content

Instantly share code, notes, and snippets.

@dubistdu dubistdu/create_phone.txt
Last active Mar 31, 2018

What would you like to do?
create phone number
def createPhoneNumber(array)
'(%d%d%d) %d%d%d-%d%d%d%d' % array
array count has to match that of d
each array item replaces d in string
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.