hm
This commit is contained in:
parent
6fe73ba5fc
commit
9a5030cd8c
@ -7,9 +7,9 @@ def is_number(test):
|
|||||||
|
|
||||||
result = re.match(pattern, test)
|
result = re.match(pattern, test)
|
||||||
if result:
|
if result:
|
||||||
return "yes"
|
return test.split(' ')[-1]
|
||||||
else:
|
else:
|
||||||
return "no"
|
return "<NONE>"
|
||||||
|
|
||||||
for line in sys.stdin:
|
for line in sys.stdin:
|
||||||
print(is_number(line))
|
print(is_number(line))
|
||||||
|
Loading…
Reference in New Issue
Block a user