注册一亩三分地论坛,查看更多干货!
您需要 登录 才可以下载或查看附件。没有帐号?注册账号 
x
分享一下我金鱼脑记得的OA1遇到的问题
Debug
1. find the amount of distinct number (for loop, i -> j)
2. sum of the distinct number (忘了答案...)
3. eliminate AEIOU (while 多了一个
分享一个英文转数字 python 代码
写 logic section 的时候满好用的
print [ord(char) - 96 for char in raw_input('Input: ').lower()]
|