美文网首页CodeWars for Python
Exes and Ohs----校验字符串中XO数量一致性

Exes and Ohs----校验字符串中XO数量一致性

作者: Tectonic | 来源:发表于2019-04-02 11:27 被阅读0次

Description:

Check to see if a string has the same amount of 'x's and 'o's. The method must return a boolean and be case insensitive. The string can contain any char.

Examples input/output:

Example

Solutions:

Practice1:

Practice1

Practice2:

Practice2

Practice3:

Practice3

相关文章

网友评论

    本文标题:Exes and Ohs----校验字符串中XO数量一致性

    本文链接:https://www.haomeiwen.com/subject/vomwbqtx.html