in ,

howManyRs

howManyRs | code-memes, python-memes, python 3-memes | ProgrammerHumor.io
code-memes, python-memes, python 3-memes | ProgrammerHumor.io

[text] How many Rs are in the word Strawberry python 3 Copy code def countRsword Rcount 0 for letter in word if letter or letter r or letter SRS RN LR elif letter.lower a or letter.lower s or letter.lower t or le pass these letters arent R obviously e Rcount just to be sure return Rcount 1 offbyone to account for any potential silent Rs printcountRsStrawberry Expected output undefined OIS R oA