27_11_commit
This commit is contained in:
parent
91453c1dd5
commit
591d0f1ad9
0
TaskE01/Makefile
Normal file
0
TaskE01/Makefile
Normal file
8
TaskE01/run
Normal file
8
TaskE01/run
Normal file
@ -0,0 +1,8 @@
|
||||
#!/usr/bin/python3
|
||||
|
||||
import sys, re
|
||||
for line in sys.stdin:
|
||||
if (re.search(r'[A-Z][0-9][0-9]', line)):
|
||||
print('true')
|
||||
else:
|
||||
print('false')
|
0
TaskE02/Makefile
Normal file
0
TaskE02/Makefile
Normal file
8
TaskE02/run
Normal file
8
TaskE02/run
Normal file
@ -0,0 +1,8 @@
|
||||
#!/usr/bin/python3
|
||||
|
||||
import sys, re
|
||||
for line in sys.stdin:
|
||||
if (re.search(r'(^(?!555)((\d{3})-(\d{3})-(\d{3})$))|((\d{3}) (\d{3}) (\d{3})$)', line)):
|
||||
print('true')
|
||||
else:
|
||||
print('false')
|
0
TaskE03/Makefile
Normal file
0
TaskE03/Makefile
Normal file
8
TaskE03/run
Normal file
8
TaskE03/run
Normal file
@ -0,0 +1,8 @@
|
||||
#!/usr/bin/python3
|
||||
|
||||
import sys, re
|
||||
for line in sys.stdin:
|
||||
if (re.search(r'^\D*[AEIOUaeiou]\D*$', line)):
|
||||
print('true')
|
||||
else:
|
||||
print('false')
|
Loading…
Reference in New Issue
Block a user