Computers and Technology

Read the following code used to calculate the percentage of calories from fat in an item: calories = input("how many calories are in the item? ") caloriesfat = input("how many calories are from fat? ") percentfat = caloriesfat / calories there is an error in the code. what type of function needs to be used? float() [i think it is this one. is it right? ] int() print() [not this one! ] str()

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 22:30, Metlife
You are new to microsoft certification and want to start out by getting a certification geared around windows 8. what microsoft certification should you pursue?
Answers: 1
image
Computers and Technology, 23.06.2019 02:00, kelseybell5522
For a typical middle-income family, what is the estimated cost of raising a child to the age of 18? $145,500 $245,340 $304,340 $455,500
Answers: 1
image
Computers and Technology, 23.06.2019 04:31, mona92
Which of the following is not a way in which trees benefit the environment? a. they remove a significant amount of carbon dioxide from the atmosphere. b. they remove a significant amount of oxygen from the atmosphere. c. their roots hold soil in place, reducing rates of erosion. d. they remove ozone and particulates from the atmosphere. select the best answer from the choices provided a b c d
Answers: 1
image
Computers and Technology, 23.06.2019 04:40, Koriunaa
The narrative structure of the popular movies can be broken down into
Answers: 3
Do you know the correct answer?
Read the following code used to calculate the percentage of calories from fat in an item: calories...

Questions in other subjects:

Konu
Social Studies, 01.12.2020 17:10
Konu
Chemistry, 01.12.2020 17:10