Back to task

74 symbols python3
Fri Jan 15 21:56:19 2016 Sait2000
a='十一二三四五六七八九'.find
s=input()
print({'三十八':28}.get(s,a(s[0])*10+a(s[-1])))


Leave a comment

Parsed as Markdown

Login to leave a comment