codewar
摘要:判断是否有ox sample: def xo(s): s = str.lower(s) s = list(s) counto=0 countx=0 for item in s: if item == 'o': counto+=1 elif item =='x': countx+=1 return c
阅读全文
posted @ 2017-06-29 19:32
posted @ 2017-06-29 19:32
posted @ 2017-06-23 14:44