Harry Hogg
Jun 1, 2022

--

from collections import Counter as C

names = C(["Bob","Ted","Joe","Mary","Joe"])

print ("The name Joe appears ",names ["Joe"], "times.")

Thanks for the mention in here somewhere. Please, someone turn the light on!

--

--

No responses yet