maxefficacy659 maxefficacy659
  • 16-01-2024
  • Computers and Technology
contestada

Read the following code used to calculate the total cost of cookies sold:

boxes = input("How many boxes of cookies did you sell?")
cost = 4
totalCost = boxes * cost

There is an error in the code. Which additional function needs to be used with the input() function?
A. float()
B. add()
C. int()
D. str()

Respuesta :

Otras preguntas

Why is acceleration negative in a free fall?
f(x)= 2lxl? (graphing absolute values) I'm a little confused.
In an 8.00 km race, one runner runs at a steady 11.0 km/h and other runs at 14.8 km/h. How far from the finish line is the slower runner when the fast runner fi
When did the baby boom take place in the United States?
A circle is inscribed in a square. A point in the figure is selected at random. Find the probability that the point will be in the shaded region.
Use the Associative and Commutative Properties to make this calculation easier. Justify the steps. 6•(17•50)
What is the Hcf of 25 and 125
Why is acceleration negative in a free fall?
When did the baby boom take place in the United States?
I need examples of cultural diffusion and why