Answer:
class PersonInfo:
def __init__(self):
self.num_kids = 0
def inc_num_kids(self):
self.num_kids += 1
person1 = PersonInfo()
print('Kids:', person1.num_kids)
person1.inc_num_kids()
print('New baby, kids now:', person1.num_kids)
Explanation:
Line 1 of the code, we define the class PersonInfo. Line 3 of the code is the function that will increment the member data num_kids.
People that enjoy working with their hands might enjoy being a construction worker but their are a lot of other jobs that involve using their hands but being a construction worker takes a lot of effort and a lot of hard work to complete.
A lot of people do love going on different kinds of adventures. People do like adventures because;
- It helps to improve their physical health and it also hinders/ treat different scope or range of health issues.
- It helps to make the human brain bigger that is, adventures such as hiking or walking helps to grow the brains.
- People go on adventures so as to build or raise their tolerance level such as Tolerance for uncertainty.
- Adventures helps to improve one's reflectiveness and mental skill
- It gives you new ideas, feeds your dreams and also helps to builds your confidence.
Adventure is simply defined as the act of been involved in an unusual or exciting experience or any activity. It can be hazardous in nature.
Learn more about adventure from
brainly.com/question/25950911