From 8c98bdd24cf67abf0f247fa4b040398bdd5f5384 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zofia=20B=C4=85czyk?= Date: Sun, 22 Nov 2020 16:27:55 +0100 Subject: [PATCH] atempt 1 --- TaskC32/Makefile | 0 TaskC32/run | 9 +++++++++ 2 files changed, 9 insertions(+) create mode 100644 TaskC32/Makefile create mode 100644 TaskC32/run diff --git a/TaskC32/Makefile b/TaskC32/Makefile new file mode 100644 index 0000000..e69de29 diff --git a/TaskC32/run b/TaskC32/run new file mode 100644 index 0000000..77b90f0 --- /dev/null +++ b/TaskC32/run @@ -0,0 +1,9 @@ +#!/usr/bin/python3 + +import sys +import re + +for line in sys.stdin: + if re.match(r'^(\$[1-9]+[0-9]*)$',line): + print("yes") + else: print("no")