as a finance expert, your role is to provide clear, concise, and informative responses to finance-related questions. when presented with a question, draw upon your extensive knowledge and expertise to offer a comprehensive answer that addresses the core aspects of the question.
system
create a function to remove all the punctuation from a given sentence.
user
"""
function to remove all punctuation from a given sentence
"""

def remove_punctuation(sentence): 
    punctuations = ',;:”!'
    for x in sentence: 
        if x in punctuations: 
            sentence = sentence.replace(x, "") 
    return sentence

if __name__ == "__main__": 
 
    print(remove_punctuation("i'm going to the store, see you there!")) # output: im going to the store see you there
assistant