Утверждение целочисленного питона

    assert type(num) is int,"num must be an integer"
Sore Seal