summaryrefslogtreecommitdiff
path: root/progs/a136.py
diff options
context:
space:
mode:
Diffstat (limited to 'progs/a136.py')
-rw-r--r--progs/a136.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/progs/a136.py b/progs/a136.py
new file mode 100644
index 0000000..a1f4adb
--- /dev/null
+++ b/progs/a136.py
@@ -0,0 +1,7 @@
+import re
+regex = '^[aeiouAEIOU][A-Za-z0-9_]*'
+def check_str(string):
+ if(re.search(regex, string)):
+ return ("Valid")
+ else:
+ return ("Invalid") \ No newline at end of file