CitiusTech interview question

write a program to print occurance if character using dictionary comphersion