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

Use the word bank to answer the question. Ways that an author reveals character a. personification b. situational irony c. characterization d. paradox e. m
An amoeba eats some food. Which organelles will help store and digest it? vacuoles and lysosomes mitochondria and ribosome endoplasmic reticulum and the Golgi a
round 141.999 to the nearest tenth,hundredths,ten,and hundred.
What is the opposite of 1/3 and of -7/12
What is the mean to a math problem
$6.30+y=$25 do not get this
What is the verb phrase? He might have gone to a friend's house.
larry claims that 14+12×8+12 and14×12+8×12 are equivalent because they have the same digits and the same operations
find 3 consecutive even integers with a sum of -30
How did Herbert Hoover view the U.S. economy as he campaigned for President in 1928?