Write an if/else statement that adds 1 to minors if age is less than 18, adds 1 to adults if age is 18 through 64 and adds 1 to seniors if age is 65 or older.
1
Expert's answer
2020-03-02T09:53:33-0500
if age < 18:
minors += 1
elif age < 65:
adults += 1
else:
seniors += 1
Comments
Leave a comment