In 1239 import string print storing punctuation i assign the
In 1239 import string print storing punctuation i assign the string of common punctuation symbols to a variable and turn it into a list punctuations list string punctuation see what punctuation is included print (punctuations) You can see that the punctuations inside the string package is pretty good at including most of the punctuations! The staff had already gone a head further and identified a few more punctuations that exist in Huckleberry Finn and Little Women but not included in the original punctuations, let\'s combine two lists! 1.3 Customized Punctuation List Create a costomized punctuation list using the punctuations list in the string package and adding o include a few more punctuations. Fill in the part to complete the code. In 1258]: Your answer here for customized punctuations customized punctuations Customizing the punctuation string by adding a few punctuations that were not included org. print customized punctuations)
Solution
import string
print(string.punctuation)
punctuations = list(string.punctuation)
print(punctuations)
customized_punctuations = punctuations + [\"\'\'\",\"``\",\'--\']
print(customized_punctuations)
