data types after the imports and the creation of the print_unicode_table(functionexecution reaches the code shown here we begin by assuming that the user has not given word to match on the command line if command-line argument is given and is - or --helpwe print the program' usage information and set word to as flag to indicate that we are finished otherwisewe set the word to lowercase copy of the argument the user typed in if the word is not then we print the table when we print the usage information we use format specification that just has the format name--in this casethe position number of the argument we could have written the line like this insteadprint("usage{ [ ][string]format(sys argv)using this approach the first is the index position of the argument we want to useand [ is the index within the argumentand it works because sys argv is list def print_unicode_table(word)print("decimal hex chr print(--{ :^ }format("name"){ :-< }format("")code ord("end sys maxunicode while code endc chr(codename unicodedata name( "**unknown ***"if word is none or word in name lower()print("{ : { : { :^ { }formatcodename title())code + we've used couple of blank lines for the sake of clarity the first two lines of the function' suite print the title lines the first str format(prints the text "namecentered in field characters widewhereas the second one prints an empty string in field characters wideusing fill character of "-"and aligned left (we must give an alignment if we specify fill character an alternative approach for the second line is thisprint(--{ }format("- )here we have used the string replication operator (*to create suitable stringand simply inserted it into the format string third alternative would be to simply type in "-" and use literal string we keep track of unicode code points in the code variableinitializing it to the code point for space ( we set the end variable to be the highest