I am trying to replace a string here in Python. I want the period and the closest character to the left of it to be deleted.
This is my Input
test = &quo