def set_age(self, age):
    ' Method saves a new age for the person.\n\n        :param age: new age for the person, integer\n        :return: None\n        '
    if (type(age) != int):
        print('not valid age {}'.format(age))
        return
    if (age >= 0):
        self.age = age
    else:
        print('not valid age {}'.format(age))
Method saves a new age for the person.

:param age: new age for the person, integer
:return: None
def set_age(self, age):
    ' Method saves a new age for the person.\n\n        :param age: new age for the person, integer\n        :return: None\n        '
    if (type(age) != int):
        print('not valid age {}'.format(age))
        return
    if (age >= 0):
        self.age = age
    else:
        print('not valid age {}'.format(age))