diff options
Diffstat (limited to 'progs/a845.py')
-rw-r--r-- | progs/a845.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/progs/a845.py b/progs/a845.py new file mode 100644 index 0000000..d263407 --- /dev/null +++ b/progs/a845.py @@ -0,0 +1,7 @@ +import re
+def match(text):
+ pattern = '[A-Z]+[a-z]+$'
+ if re.search(pattern, text):
+ return('Yes')
+ else:
+ return('No')
\ No newline at end of file |