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 thirties (ages 30 to 39). What is the missing line of code?

customerAges = [33, 23, 11, 24, 35, 25, 35, 18, 1]

count30s = 0
for item in customerAges:
:
count30s = count30s + 1
print("Thirties:", count30s)

if 30 > item > 39

if 30 >= item >= 39

if 30 <= item <= 39

if 30 < item < 39

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 07:50
Apython programming question: assume s is a string of lower case characters. write a program that prints the number of times the string 'bob' occurs in s. for example, if s = 'azcbobobegghakl', then your program should print number of times bob occurs is: 2
Answers: 3
question
Computers and Technology, 23.06.2019 11:30
Which excel file extension stores automated steps for repetitive tasks?
Answers: 1
question
Computers and Technology, 23.06.2019 15:30
The processing of data in a computer involves the interplay between its various hardware components.
Answers: 1
question
Computers and Technology, 23.06.2019 20:30
What is the biggest difference between section breaks and regular page breaks
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, 09.10.2021 18:30
question
Social Studies, 09.10.2021 18:40
Questions on the website: 13722363