Samsung SDS Interview Question

Write a program for python individual string count in a word