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, 24.06.2019 09:30
Retype the statements, correcting the syntax errors. system.out.println("num: " + songnum); system.out.println(int songnum); system.out.println(songnum " songs"); note: these activities may test code with different test values. this activity will perform two tests: the first with songnum = 5, the second with songnum = 9. see how to use zybooks.
Answers: 1
question
Computers and Technology, 24.06.2019 10:10
Which view in a presentation program displays a split window showing the slide in the upper half and a blank space in the lower half?
Answers: 1
question
Computers and Technology, 25.06.2019 07:50
In addition to the four primary computer operations, today's computers typically also perform functions.
Answers: 1
question
Computers and Technology, 25.06.2019 08:50
98 points asap you have been asked to create a program for an online store that sells their items in bundles of five. select the appropriate code that would display how many bundles are available for sale. a.print(5 // totalitems) b.print(totalitems // 5) c.print(totalitems(5) ) d.print(5(totalitems) )
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
Questions on the website: 13722363