summaryrefslogtreecommitdiff
path: root/progs/a316.py
blob: 728423f5d86bbdd891accdac680fe879f945d34b (plain)
1
2
3
4
5
6
7
import re
def text_uppercase_lowercase(text):
        patterns = '[A-Z]+[a-z]+$'
        if re.search(patterns, text):
                return 'Found a match!'
        else:
                return ('Not matched!')