import re, string, sys
Then let's define the addressee and the punctuation for the output. These are taken from the first two command line arguments:
greeting = sys.argv addressee = sys.argv punctuation = sys.argv
Here, we give greeting the value of the first command-line argument of the program. The first word that comes after the program's name when the program is executed will be assigned using the sys module. The second word (addressee) is sys.argv, etc. (the program's name itself is sys.argv).