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, 21.06.2019 18:30
An attribute on a webpage allows you to set borders and change background colors. true or false
Answers: 1
question
Computers and Technology, 23.06.2019 10:00
Whats three fourths of 15(this is supposed to be in math but i clicked too fast)
Answers: 1
question
Computers and Technology, 23.06.2019 15:00
What is the total resistance in a circuit that contains three 60 ohm resistors connected in a series? a. 20 ohms b. 120 ohms c. 60 ohms d. 180 ohms
Answers: 2
question
Computers and Technology, 24.06.2019 11:00
These statements describe lists in presentation programs: a. bullets can be turned off and on. b. bullets cannot be turned off. c. bullet styles, colors, and sizes can be changed. d. lists don't have to use bullets or numbers. e. numbering styles, colors, and sizes can be changed. f. numbers can be turned off and on. g. numbers cannot be turned off. select all that apply
Answers: 2
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, 27.10.2020 22:40
question
Mathematics, 27.10.2020 22:40
Questions on the website: 13722360