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 11:00
When working with a team you should always do the following, except? question 3 options: be dependable and trustworthy be sensitive to others feelings do your fair share critique members of the group
Answers: 2
question
Computers and Technology, 23.06.2019 22:20
What is a programming method that provides for interactive modules to a website?
Answers: 1
question
Computers and Technology, 24.06.2019 11:00
Why is it uncommon for users to perform searches directly in database tables? a.)users are discouraged from interacting directly with tables because they might confuse tables with spreadsheets. b.) users are discouraged from interacting directly with tables because this may result in unintended changes to source data. c.)users do not have the technical skills required to perform searches directly in database tables. d.)users do not have the permissions required to perform searches directly in database tables.
Answers: 1
question
Computers and Technology, 25.06.2019 05:30
Your mother is sure that you were driving too fast because she knows a. when you arrived and the direction you came from. b. how long it took you to get home and how far you traveled. c. what time you left and how long it took you to get home. d. the direction you were driving and how far you traveled.
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
English, 02.03.2021 14:00
question
Mathematics, 02.03.2021 14:00
Questions on the website: 13722359