?
What is the output of the following code:
What is the output of the following code:
import re
result = re.sub(r's', '-', 'This is a test.')
print(result)
result = re.sub(r's', '-', 'This is a test.')
print(result)
Join the Discussion
Login to post a comment or share your explanation.
Login