• tetris11@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    7 days ago
    comment                     # "How many R are there in Romulan?"
    comment.lower()             # "how many r are there in romulan?"
    comment.lower().count("r")  # "how many ř aře theře in řomulan?"  (4 highlighted)