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 02:00
Arecipients list has been loaded into a document. which commands should be clicked in order to filter the list so that letters will not be printed for recipients who live in a certain state? mailings tab, start mail merge, select recipients, type new list, then insert only contacts from the desired states mailings tab, rules, select recipients, use existing list, then choose a recipients list that includes only contacts in certain states mailings tab, select recipients, use existing list, rules, fill in, then type in certain states mailings tab, rules, skip record select “state” under field name, then type in the state name under “equal to”
Answers: 2
question
Computers and Technology, 23.06.2019 16:00
What is the biggest difference between section breaks and regular page breaks? section breaks are more difficult to add than page breaks. section breaks make it easier for you to view the document as an outline. section breaks allow you to have areas of the document with different formatting. section breaks are smaller than regular page breaks.
Answers: 2
question
Computers and Technology, 24.06.2019 19:30
Dtp allows you to manipulate text boxes in the following ways. more than 1 answer. a.move them b.rotate them c.resize them d.all of the above e.none of the above
Answers: 1
question
Computers and Technology, 24.06.2019 22:00
Is the process of organizing data to reduce redundancy. a. normalization b. primary keying c. specifying relationships d. duplication
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, 15.10.2019 13:20
question
Mathematics, 15.10.2019 13:20
question
Mathematics, 15.10.2019 13:20
question
Mathematics, 15.10.2019 13:20
question
Computers and Technology, 15.10.2019 13:30
Questions on the website: 13722362