subject

A restaurant recorded the ages of customers on two separate days. You are going to write a program to compare the number of customers in their teens (ages 13 to 19). What is the missing line of code to count the number of customers in their teens?

customerAges = [13, 3, 11, 24, 35, 25, 15, 18, 1]
countTeens = 0
for item in customerAges:
:
countTeens = countTeens + 1

if 13 <= item <= 19

if 13 < item < 19

if 13 <= item[0] <= 19

if 13 < item[0] < 19

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 09:30
My mom and i are moving and we don’t have wifi for the next week, i want to know if using a using a hotspot with unlimited data is better than using regular wifi. i’m considering cost, speed, and data sacrifices.
Answers: 1
question
Computers and Technology, 23.06.2019 20:50
3.11.3 quiz: comparing and analyzing function typesquestion 4 of 102 pointswhat can you say about the y-values of the two functions f(x) = 3x2-3 andg(x)=2* - 3?
Answers: 2
question
Computers and Technology, 24.06.2019 01:00
What shows the web address of the page that is currently displayed in the workspace? status window toolbar location bar internet box
Answers: 1
question
Computers and Technology, 24.06.2019 19:50
Which is a characteristic of free and open-source software licenses? a. the source code is unavailable to everyone b. the source code is available only to the government c. the source code is available to all users d. the source code is constantly modified
Answers: 1
You know the right answer?
A restaurant recorded the ages of customers on two separate days. You are going to write a program t...
Questions
question
Mathematics, 02.07.2021 03:50
question
Mathematics, 02.07.2021 03:50
Questions on the website: 13722361