Infosys interview question

Write program to count characters in word

Interview Answer

Anonymous

Sep 3, 2023

s= 'string' for i in s: print(s.count(i))