1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Xelga [282]
3 years ago
6

When you are making multiples of a brownie recipe, you cannot - without great difficulty - use a fraction of an egg. The calcula

te_eggs function uses the ceil function in the math module to always round up and provide the total number of eggs you need on hand to make your recipe.
1. On Line 2, import just the ceil function from the math module
2. On Line 6, call the ceil function to calculate 0.6*servings
When you run the code, it should match the output under Desired Output
# Import ceil function only from the math module
import math.ceil
# Define Function
def calculate_eggs(servings):
total_eggs = (0.6*servings)
return total_eggs
# Call Function
print(calculate_eggs(14))
Desired Output = You need 9 eggs
Computers and Technology
1 answer:
Lera25 [3.4K]3 years ago
5 0
The answer is one ☝️ question for the poll of a vote
You might be interested in
Explain the integer and float datatypes with example.<br><br>​
Leno4ka [110]

Answer:

integers are natural numbers like 1,2,3,.....

Float data types are those that are in the form of decimals like 1.5, 2.33. 0.75

6 0
3 years ago
What does the following function return? void index_of_smallest(const double all, int startindex, int numberOfSlots); A. a doubl
Flauer [41]

Answer:

nothing

Explanation:

Because the return type of the function is void. void means does not return any thing.

The syntax of the function:

type name( argument_1, argument_2,......)

{

  statement;

}

in the declaration the type define the return type of the function.

it can be int, float, double, char, void etc.

For example:

int count( int index);

the return type of above function is int. So, it return integer.

similarly,

void count(int index);

it return type is void. So, it does not return any thing.

7 0
4 years ago
Which of the following dimensions of e-commerce technology has the potential to raise the quality of information? A) Global reac
masya89 [10]

Answer:

D. Information density.

Explanation:

E-commerce is the online trading of goods and service between a buyer and a seller, with integrated payment medium. This website technology provides an e-store and needs information on the client data to provide the necessary services.

Information density is the total amount and quantity of information available to all participating in e-commerce. This provides a rich quality and database of information for e-commerce website technology, to enhance the quality of services in e-commerce, information density must be considered.

7 0
3 years ago
Why is my computer getting slower and slower? What can i do without buying a virus scanner?
NeTakaya
It could be that your computer is simply getting older and more worn out, I suggest downloading MalwareBytes, it's a free anti-virus software that I use personally.
7 0
3 years ago
Read 2 more answers
Suggest any complete anime......?​
strojnjashka [21]
Ummmm toradora? on netflix
6 0
2 years ago
Read 2 more answers
Other questions:
  • Why were the spices in Asia so expensive when sold in Europe?
    11·2 answers
  • According to Fourman, Informatics is _______________ with a very _____________ scope.
    5·2 answers
  • Briefly define "address space" and discuss its major tradeoffs (advantages/costs). What problem is it addressing?
    10·1 answer
  • Which of these identifies the intersection of row 16 and column D?
    14·2 answers
  • Which of the following kinds of software provides the capabilities of paint software and also includes the ability to enhance an
    10·1 answer
  • You need to write a menu driven program. The program allows a user to enter five numbers and then asks the user to select a choi
    8·1 answer
  • Which of the following features can be found on the LMS home page?
    11·1 answer
  • Are you familiar with measuring using a ruler? When have you ever used a ruler to measure, and who taught you how to use the rul
    13·1 answer
  • GOOD EVENING, FRIENDS, I WANT TO ASK ON THE ACCOUNT OF HIS NAME‏BENJEMIN360 . THIS ANSWERS ARE VERY WONDERFUL, BUT I CAN'T COMMU
    6·1 answer
  • What is ?
    9·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!