Thursday, 13 August 2015

Day 2 - Regular expressions

huhu new huragan

def match_sxz(noun):

    return re.search('[sxz]$', noun) # [] So [sxz] means match “s", or"x", or "z”, but

only one of them.



No comments:

Post a Comment