Question: What am I doing incorrect? Use a Python for loop to print out the ages of only the adults (i.e., 18 or older) of the
Use a Python for loop to print out the ages of only the adults (i.e., 18 or older) of the five people (with ages of 14,34,19,7. 65). ages14,34,19,7,65forageinages:print(age>18) False True True False True
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
