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

Choose ALL correct answers (1, -3) (4, 1) (6, 3) (2, -2)
PLSS HELP MEEE!! It'll be very appreciated
The cells ____ and shrivel up
In the diagram of a gate, the horizontal bars are parallel and the vertical bars are parallel. Find x and y. Complete the explanation Indicating which postulate
A population of 50 foxes in a wildlife preserve doubles in size every 14 years. The function y = 50.2*, where x is the number of 14-year periods, models the pop
Solve the system of equations below by graphing. Type in the ordered pair (x,y) for your answer y=-2 x+y=5
373646351636646475753626266374747574884x848484893990299149440505944330309877=?
Choose ALL correct answers (1, -3) (4, 1) (6, 3) (2, -2)
Five times a number decreased by 2 is 4, find the number.
Plot the point on this function with an x-value of 6. What is the y-value of this point?