Python Code Challenge

40 - Write a program that takes a string input from the user and prints the number of occurrences of each letter in the string. The output should be displayed in the format of "Letter 'X' occurs Y times".