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, 23.06.2019 03:30
In vista and windows 7, the appearance and personalization option allows you to change the
Answers: 1
question
Computers and Technology, 23.06.2019 03:50
Iam a bacterium. i cause stomach cramps and diarrhea. i am caused by eating rotten foodssuch as chicken, fish, or eggs. sometimes turtles carry my bacteria.what am i?
Answers: 2
question
Computers and Technology, 23.06.2019 11:30
The most accurate readings that you can take on an analog vom are when the meter's pointer is at the a. center scale. b. extreme right. c. near right. d. extreme left.
Answers: 1
question
Computers and Technology, 23.06.2019 15:20
An ou structure in your domain has one ou per department, and all the computer and user accounts are in their respective ous. you have configured several gpos defining computer and user policies and linked the gpos to the domain. a group of managers in the marketing department need different policies that differ from those of the rest of the marketing department users and computers, but you don't want to change the top-level ou structure. which of the following gpo processing features are you most likely to use? a, block inheritance b, gpo enforcement c, wmi filtering d, loopback processing
Answers: 3
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, 04.02.2021 15:00
question
Mathematics, 04.02.2021 15:00
question
English, 04.02.2021 15:00
question
English, 04.02.2021 15:00
question
Biology, 04.02.2021 15:00
question
Mathematics, 04.02.2021 15:00