Infosys interview question

Write program to count characters in word

Interview Answer

Anonymous

3 Sept 2023

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