Regex para terminar con Python
import re
str = 'Python is a programming language'
#search using regex
x = re.search('language$', str)
Zealous Zebra
import re
str = 'Python is a programming language'
#search using regex
x = re.search('language$', str)