This commit is contained in:
deadsmond 2019-10-28 20:33:13 +01:00
parent 6fe73ba5fc
commit 9a5030cd8c

View File

@ -7,9 +7,9 @@ def is_number(test):
result = re.match(pattern, test)
if result:
return "yes"
return test.split(' ')[-1]
else:
return "no"
return "<NONE>"
for line in sys.stdin:
print(is_number(line))