Develop a Python program to compare two given strings and display the number of matches
String 1: Python
String 2: Program
def compareStrings(string1, string2):
    count = 0
    for ch in string1:
        if ch in string2:
            count +=1
    return count

print(compareStrings("Python", "Program"))
// Output: 3