assistance-engine/scratches/pseco/synthetic_dataset/avap_test/test.avap

16 lines
443 B
Plaintext

addParam("txt", txt)
result = False
if(None, None, 'txt == "" or txt == None')
result = False
else()
replace(txt, ",", " ", txt_clean)
last_word = txt_clean.split()[-1] if txt_clean.split() else ""
getListLen(last_word, last_len)
if(None, None, 'last_len == 1 and last_word.lower() >= "a" and last_word.lower() <= "z"')
result = True
else()
result = False
end()
end()
addResult(result)
_status = 200