import string


def num_Ponctuation(Instr):
    """
    this function return the number of ponctuation characters in a String
    """
    nonpuc = [c for c in Instr if c not in string.punctuation]
    nonpuc = "".join(nonpuc)
    if "." in nonpuc:
        nonpuc = nonpuc + "."  # this line just to ignore the period for one time
    return len(Instr) - len(nonpuc)