subject

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()

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 02:50
Which of the following had the greatest influence on opening the internet to the generly public
Answers: 1
question
Computers and Technology, 23.06.2019 02:00
What is the main benefit of minimizing the ribbon in word? more options will be accessible through customized keystrokes. more of the document will be viewable without needing to scroll. fewer controls will be accessible to the user by using the mouse. fewer editing options will be available without entering a password.
Answers: 1
question
Computers and Technology, 24.06.2019 17:40
Which of the following processes applications across multiple computing devices? a. functional application b. distributed system c. workgroup information silo d. information silo
Answers: 3
question
Computers and Technology, 24.06.2019 18:50
Which style did jack use on the vocabulary words in reports?
Answers: 2
You know the right answer?
Read the following code used to calculate the percentage of calories from fat in an item: calories...
Questions
question
Mathematics, 07.05.2021 05:40
question
Advanced Placement (AP), 07.05.2021 05:40
question
Chemistry, 07.05.2021 05:40
question
English, 07.05.2021 05:40
Questions on the website: 13722363