The final word

Report a typo

Write a regular expression that matches a conclusive statement "I love Python" (without quotes). "Conclusive" means that these words should be the last in the text, and nothing else should follow them (because we love Python, and there are no buts).

Write a program in Python 3
import re


regex = ''
___

Create a free account to access the full topic