Back to task

85 symbols python3
Thu Oct 8 15:25:35 2015 BogdanShevchenko
a='十一二三四五六七八九'
d={'三十八':28}
s=input()
print(d.get(s,a.index(s[0])*10+a.index(s[-1])))


Leave a comment

Parsed as Markdown

Login to leave a comment