This commit is contained in:
Pawel Felcyn 2023-12-11 14:40:10 +01:00
parent f3924b4961
commit 9e915b26ba

18
TaskE00/run.py Normal file
View File

@ -0,0 +1,18 @@
import re
def check_number_divisible_by_5(input_string):
pattern = r'^[1-9]*(0|5)$'
if re.match(pattern, input_string):
print('yes')
else:
print('no')
if __name__ == "__main__":
try:
while True:
line = input()
check_number_divisible_by_5(line)
except EOFError:
pass