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

Alats must have energy to incion What to celsuse for reg?
eetcgghhhccghhudafrvghgubhh
The volume of a rectangular prism is given by the formula V = lwh, where / is the length of the prism, w is the width, and histhe height. Suppose a box in the s
Question 3 of 10 2 Points Which countries were the first to form the Allied forces during World War II? ) A. The United States and the Soviet Union O B. France
How did the states lose that protection from government usurpation of power?
Please help me with this problem
The declaration of independence calls for three alienable rights what are they
I need help with this math problem thx
/620 5701 The measure of 21 is:
How do I draw a picture to show angle ABC is complementary to angle CBD. Angle ABC measures 4x-6 degrees, while angle CBD measures 58 degrees.