loading...

Discussion on: Daily Challenge #29 - Xs and Os

Collapse
suchafoka profile image
Suchafoka

Python:

def xo(txt):
    return  True if txt.lower().count('x') == txt.lower().count('o') else False