Answer to Question #229654 in Python for Arturo Zenteno

Question #229654

Write an if-else statement that compares the age variable with the value 65. If age is greater than or equal to 65, add 1 to senior_citizens. Otherwise, add 1 to non_seniors.


1
Expert's answer
2021-08-25T17:32:47-0400
if age >= 65:
   senior_citizens += 1
else:
   non_seniors >= 1

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS