Back to task

69 symbols python3
Mon Sep 12 17:10:00 2016 Sait2000
a='十一二三四五六七八九'.find
s=input()
print((a(s[0])-(s=='三十八'))*10+a(s[-1]))


Leave a comment

Parsed as Markdown

Login to leave a comment