Write a Python program that takes a string and prints the frequency of each character in the string.
"Code Generation Task"
# Frequency of each character in the string

string = "Code Generation Task"

for i in string:
    print("Number of Occurrence of", i, "is", string.count(i))