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
omeli [17]
3 years ago
9

Assume that you have 22 slices of pizza and 7 friends that are going to share it (you've already eaten). There's been some argum

ents among your friends, so you've decided to only give people whole slices. Write a Python expression with the values 22 and 7 that calculates the number of whole slices each person would receive and assigns the result to numberOfWholeSlices.
Computers and Technology
1 answer:
xz_007 [3.2K]3 years ago
4 0

Answer:

In Python:

numberOfWholeSlices = int(22/7)

print(numberOfWholeSlices )

Explanation:

For each friend to get a whole number of slices, we need to make use of the int function to get the integer result when the number of slices is divided by the number of people.

So, the number of slice is: 22/7

In python, the expression when assigned to numberOfWholeSlices  is:

numberOfWholeSlices = int(22/7)

Next, is to print the calculated number of slices

print(numberOfWholeSlices )

You might be interested in
Set of general format used to write program in any programming language?​
Novosadov [1.4K]

Answer:

hope you find it right

Explanation:

The process of writing computer instructions in a programming language is known as Coding.

A computer program is usually written by a computer programmer in a programming language. From the program in its human-readable form of source code, a compiler can derive machine code—a form consisting of instructions that the computer can directly execute.

That line of code is written in the Python programming language. Put simply, a programming (or coding) language is a set of syntax rules that define how code should be written and formatted. Thousands of different programming languages make it possible for us to create computer software, apps and websites.

In programming, code (noun) is a term used for both the statements written in a particular programming language - the source code , and a term for the source code after it has been processed by a compiler and made ready to run in the computer - the object code .

5 0
2 years ago
Alexandria works for a non-profit company that asks for donations to help the homeless people in her community. Recently the dat
Rudiy27

Answer:

A. PII

Explanation:

PII (Personally identifiable information) is any data that will be useful in identifying a particular individual e.g full name, date of birth, etc. A donors detail in the database will surely be the data to be used to identify him personally.

3 0
2 years ago
You’ve just finished training an ensemble tree method for spam classification, and it is getting abnormally bad performance on y
inn [45]

Answer:

The various reasons that could be a major problem for the implementation are it involves a large number of parameters also, having a noisy data

Explanation:

Solution

The various reasons that could be causing the problem is given as follows :

1. A wide number of parameters :

  • In the ensemble tree method, the number of parameters which are needed to be trained is very large in numbers.
  • When the training is performed in this tree, then the model files the data too well.
  • When the model has tested against the new data point form the validation set, then this causes a large error because the model is trained completely according to the training data.

2. Noisy Data:

  • The data used to train the model is taken from the real world . The real world's data set is often noisy i.e. contains the missing filed or the wrong values.
  • When the tree is trained on this noisy data, then it sets its parameters according to the training data.
  • As regards to testing the model by applying the validate set, the model gives a large error of high in accuracy y.

8 0
3 years ago
Which of the following is a domestic business activity?
harkovskaia [24]
What are the options?

7 0
2 years ago
Read 2 more answers
After selecting a cell in the data range, what are some ways to create a table? Check all that apply.
lana66690 [7]

Answer: the answer is B /E

3 0
3 years ago
Read 2 more answers
Other questions:
  • ?the single most effective security measure for digital devices is to password protect access to them.
    5·1 answer
  • Given a scanner reference variable named input that has been associated with an input source consisting of a sequence of integer
    14·2 answers
  • Jenny is working on a laptop computer and has notices that the computer is not running very fast. She looks and realizes that th
    6·2 answers
  • Write a function SwapArrayEnds() that swaps the first and last elements of the function's array parameter. Ex: sortArray = {10,
    8·1 answer
  • Fill in the blanks with given words:{system unit / desktop / laptop / tablet / smartphone}1. A _____ can be as powerful as a des
    11·1 answer
  • A production house needs an operating system that captures saves and generates information within a specific time. Which type of
    11·1 answer
  • which feature of organisations to manage needs to know about to build and use information system successfully
    6·1 answer
  • Describe the steps to change an existing macro in Microsoft office 2016
    6·1 answer
  • What java syntax allows me to take user input.
    11·1 answer
  • Send link for a qc or paddle
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!