Complete the function to return the factorial of the parameter.
def factorial(number)
product = 1
while number > 0
product = product * number
number = number - 1
product
strNum = input("Enter a positive integer")
num = int(strNum)
print(factorial(num))

Answers

Answer 1

def factorial(number):

   product = 1

   while number > 0:

       product = product * number

       number = number - 1

   return product

strNum = input("Enter a positive integer")

num = int(strNum)

print(factorial(num))

I hope this helps!

Answer 2

Answer:

Answer in image.

Explanation:

Complete The Function To Return The Factorial Of The Parameter.def Factorial(number)product = 1while

Related Questions

who elso does their online school in their bed cause i do

Answers

Answer:

yeah same

Explanation:

I do

it just feels right

A student entering high school is pursuing STEM education. What can you infer about this student?

Answers

Answer: according to my calculations, we can infer that the student is pursuing a STEM education

Explanation:

Answer:

he likes Science, technology, engineering, and mathematics

Explanation: beacause it makes sense

1. Select the Volatile Memory *

RAM

ROM

Secondary Memory

2. A Malware is a *

program that enables the computer to run faster.

software in a computer that fights against VIRUS.

Harmful software to the computer

3. The full form of LAN is *

Locally Area Network

Local Area Network

Local Area Networking

4. The smallest Unit of data is called as *

Bit

Byte

Megabyte

5. The permanent memory built in your computer is *

Monitor

ROM

RAM

6. Which one of the following is a VIRUS *

Morris Malware

ILOVEYOU Malware

Mellisa malware

7. Which of the following storage devices are found inside the computer? *

Hard disk drive

SSS Drive

Magnetic Tape

8. The full form of ROM is *

Read Only Memory

Reading Only Memory

Read On Memory

9. Choose the Highest Unit of Data from the following. *

Megabyte

Gigabyte

Answers

Answer:

1 no.

ram

2

harmful software to the computer

3

local area network

4

bit

5

ram

6

morris malware

7

hard disk drive

8

read only memory9

gigabyte

hope this will help u

Critical Thinking Questions

You learned that there are many different programming languages, just like there are many different spoken languages throughout the world. And programming languages have certain syntax, or rules, they have to follow in order for the computer to understand the commands. Give one example of syntax for one of the programming languages listed in the unit. Then give two examples of syntax from a language you know. Describe what will happen if you do not follow these rules in your language.

Answers

Answer:

One example of syntax in Logo is “[”. Two examples of Java are “;” and “{“or “}”. If you don’t use these parts of syntax then you could get a Syntax error, this will make you have to stop the code and debug.

Explanation:

Answer:

I am giving this answer so the other person can get brainliest

Explanation:

What is the best yellow thing you can think of? (I need this for a presentation to turn it black and white.) Please no lemons.

Answers

Answer:

Pineapple some types of apples, yellow roses

Explanation:

draw block diagram of the computer system​

Answers

Computer Block Diagram System: Mainly computer system consists of three parts, that are central processing unit (CPU), Input Devices, and Output Devices. The Central Processing Unit (CPU) is divided into two parts again: arithmetic logic unit (ALU) and the control unit (CU) Fig Block Diagram of the computer

please help in this question​

Answers

Answer:

A loop statement is used to execute one of more statement depending on whether.

Use the drop-down menus to complete statements that describe SmartArt categories.


Information that does not need to be shown sequentially can be displayed as a_
A _shows a continuous process.


The way various elements in a system interconnect can be shown as a_


A _ displays different elements according to importance or size.
i did this because we don't have a lot of answers for computer classes I know the answers no need to answer

Answers

Answer:

List, Cycle, Relationship, Pyramid.

Explanation:

100%

Why do the spelling and grammar checkers in Word miss some errors?
Answer must include 3-5 sentences

Answers

Answer:

Word dose not always catch misspellings why? Its because its a computer program. the program has to run through algorithms (millions a second) and that makes a large margin for error. it  could also be the fact that the misspelling is very uncommon so it dose not recognize it.  

Explanation:

please elp i will give you brainelst answer the question and answer please!!!!!!!!!!!!!!!!
I GIVE YOU BRAINELST 5 STARS AND HEART!!!!

Answers

Answer:

I'd so like one of the Presidents.

Explanation:

research some facts. make sure to use your resources. Put some facts on who their vice president was a stuff

WILL GIVE BRAINLIEST!!!!!!!
In a series circuit, electricity flows along more than one path.


True

False

Answers

The answer is True !!!!!!!!!!!!!!!

Using database software, you can?

a. Add, change and delete data;
b. Sort and retrieve data;
c. Create forms and report;
d. All of the above.​

Answers

D - All of the above

Answer:

d

Explanation:

On which tab are the print commands in Excel 2016 accessed?

Home

File (Backstage)

View

Edit

Answers

Answer:

file (backstage)

Explanation:

edginuity 2020

The tab that is the print commands in Excel 2016 accessed is File (Backstage). The correct option is b.

What is Excel?

Microsoft produced Microsoft Excel, a spreadsheet, for Windows, macOS, Android, and iOS. It has calculation, graphing tools, pivot tables, and Visual Basic for Applications, a macro programming language. Microsoft created a spreadsheet for it.

It has calculation, graphing tools, pivot tables, and Visual Basic for Applications, a macro programming language. A spreadsheet application that is a part of the Microsoft Office suite of programs. Spreadsheets display value tables arranged in rows and columns that can be mathematically manipulated using both fundamental and sophisticated functions.

Therefore, the correct option is b. File (Backstage).

To learn more about Excel, refer to the link:

https://brainly.com/question/24202382

#SPJ5

Please help with this coding question

Answers

Answer: the variable called errors is tested to see if it is less than it equal to 4
Answer the third one

How many 1000-Watt lights can be plugged into a standard 120-Volt, 15-Amp outlet? (Hint: W/V=A) *

Answers

Answer:

There are up to 12 lights and or plugs on that circuit. A 1000w HPS or Metal Halide light takes 9 amps at 120 volts so you can only run one on a wall outlet circuit. A standard dryer outlet is 220 volts and 30 amps so you can power up to six 1000 watt lights on that circuit.

Plz I’ll mark Brainliest
When programming, why should you frequently save your work?
O
to check for errors

O so your work won't get lost if you have a computer problem

O to distinguish your
project from other projects

O to keep your categories separated logically

I’m leaning toward B.

Answers

Answer:

It's B cuz if somehow the power went off your work won't be saved. So it's best to save your work frequently.

Write a couple of paragraphs about the usefulness of computer​

Answers

Answer:

computer is an electronic device

Explanation:

computer have many advantages like

it help us to find answer questions

it helps us to employing

it gives some knowledge like how to play games

it help me to talk with friends

How many of the colonists of Jamestown died before they made it to shore, due to the difficult voyage?

half
almost all
one third
nonE

Answers

Almost all of the colonist of Jamestown died before they made it to shore, due to the difficult voyage.

1byte= ________ bits
1 nibble= __________ bits
1 MB= _________ bits
1PB= ____________ TB
1 ZB= ___________ EB

Answers

Explanation:

1 byte=8bits

1 nibble = 4bits

1MB= 8000000bits

1PB= 1000TB

1ZB= 1000000000000EB

When moving pictures and graphics around on the slide you can use these to help you line things up on your slide.

Question 3 options:

Smart Guides


Guide Lines


Line Help Tools


Slide Lines

Answers

Answer:

Smart Guides

Explanation:

When moving pictures and graphics around on the slide you can use SMART GUIDES to help you line things up on your slide.

To access Smar Guides, clicking and dragging the object will automatically bring Smart Guides, then a user can align and space the object accordingly.

Other options for aligning and spacing in Microsoft PowerPoint are:

1. Align Object: this can be assessed through the Format tab

2. Gridlines: this can be assessed through View Tab

3. Guides: this can be assessed from View Tab

4. Using keys Arrows to move the object around

Track Ball
which past of the computer is responsible
for processing informatfón and making calculation​

Answers

Answer:

central processing unit

What would this look like if you were to write the pseudocode but for c++?

Answers

Answer:

when make a task list you would not include commands that are for any specific language like C++

Explanation:

pseudocode should be universal. So when creating the task list, you would not include commands that are for any specific language like C++, java, C#, or perl. The point of pseudocode is to design a program that can be translated in to any language.

What is the main difference between a search engine and a web browser?
A. Your computer only comes installed with a web browser.
B. You use a search engine to find your web browser.
C. You need to use a web browser to get to the search engine.
D. Web browsers are databases and search engines are indexes.

Answers

Answer:

c

Explanation:

You need to use a web browser to get to the search engine. The correct option is C.

What is web browser?

A web browser is a piece of software that allows you to access and view web pages on the Internet.

A web browser is a software application that is used to access and display websites on the internet, whereas a search engine is a website or programme that allows users to search for information on the internet by typing in keywords or phrases.

To put it another way, a web browser allows users to view and navigate websites, whereas a search engine assists users in finding specific information within those websites or across the internet.

Although a web browser is commonly used to access a search engine, it is not the only method.

Thus, the correct option is C.

For more details regarding web browser, visit:

https://brainly.com/question/9776568

#SPJ7

what is the importance of the international employment​

Answers

Answer:

People who went overseas to work can learn different skills and technologies which can be beneficial for the development of our own country.

Such industries provide job opportunities in the country. People who went overseas to work can learn different skills and technologies which can be beneficial for the development of our own country. Foreign employment reduces the unemployment problem of a country.

Blair is the director of information systems at a marketing firm. She creates a set of guidelines that dictate everything an employee must do on his or her computer before leaving for the evening. This situation relates to which of the following components of information system security?

A. Software
B. Data
C. People
D. Procedures

Answers

Answer:

data

Explanation:

Because i said so

Compared with other PC operating systems, the
Apple OS:
A. is less secure
B. has fewer available applications
C. is typically only available on Apple hardware.
D. costs much less.

Answers

Answer:

C. Is typically only available on Apple hardware.

Explanation:

Answer:

c

Explanation:

When a recipient responds to a meeting request, which statement most accurate descries what occurs?
O The meeting is confirmed, and the time is shown as Busy on the recipient's calendar.
O The meeting is confirmed, and the time is shown as Free on the recipient's calendar.
O The meeting request is removed from the inbox, the meeting is confirmed, and the time is shown as Busy on
the recipient's calendar.
O Nothing occurs because a recipient does not need to respond to a meeting request.

Answers

Answer:

I believe the answer is: O Nothing occurs because a recipient does not need to respond to a meeting request.

Explanation:

Well, it's true. I've got a response from a meeting request and it was irrelevant, so nothing would be happening.

Sorry for the delayed response, hope this helps :)

The meeting request is removed from the inbox, the meeting is confirmed, and the time is shown as Busy on the recipient's calendar. Thus, option C is correct.

What happens when one can request for meeting on Microsoft Outlook?

Upon acceptance of a meeting request on Microsoft Outlook, the schedule is added to your calendar, and the time period is displayed as busy, while the email invite is deleted from your email.

The following steps are required when it is desired to retain meeting requests and store them within the email or a subfolder for future references

1) Click on the Tools menu

2) Click on Options in the Tools Menu

3) Click E-mail Options in the Options menu

4) Click on Advanced E-mail Options  and

5) Uncheck the Delete meeting request from Inbox when responding.

The meeting request is removed from the inbox, the meeting is confirmed, and the time is shown as Busy on the recipient's calendar. Nothing occurs because a recipient does not need to respond to a meeting request.

Therefore, The meeting request is removed from the inbox, the meeting is confirmed, and the time is shown as Busy on the recipient's calendar. Thus, option C is correct.

Learn more about meeting request on:

https://brainly.com/question/2931702

#SPJ6

Who got social media that is smart in English subject a lot pass it here your social media pls?

Answers

Answer:

I'll help with work for a low price HMU

_kay.sanchez_ Instagram

An office uses an application to assign work to its staff members. The application uses a binary sequence to represent each of 100 staff members. What is the minimum number of bits needed to assign a unique bit sequence to each staff member?
A 5
B 6
C 7
D 8

Answers

Answer: I believe the answer is: A, 5.

Explanation:

The minimum number of bits required to assign a unique bit sequence is 7.

Binary numbers are represented as 0's and 1's

Let n = number of bits [tex] {2}^{n} = required \: sequence[/tex]

Therefore,

[tex] {2}^{n} \geqslant 100[/tex]

The whole number value of n, which is greater than or equal to 100;

[tex] {2}^{7} = 128[/tex]

The value of n which satisfies the inequality is 7

Therefore, the minimum number of bits required is 7.

Learn more : https://brainly.com/question/20865548?referrer=searchResults

If your company increases its market penetration, what is happening?
A.
The target market is growing.
B.
More people in the target market are buying the company's product.
C.
The market saturation of the target market has decreased.
D.
Competitors who offer similar products are entering the market.
D.
Your company collects credit card information from customers.

Answers

Answer:   (A, B, E)

A. ) The target market is growing.

B. ) More people in the target market are buying the company's product.

E. ) Your company collects credit card information from customers.

Explanation:  Simply what was on the assignment. Correct on Edge.

I hope this helped!

Good luck <3

Answer:

a,b,e like  the top one said

Explanation:

this is late but thats okay

Other Questions
List the parts that are congruent based on the markings. Be sure to label properly! Please helppp. Ill give brainliest! A within-subjects design has group(s) of subjects.Select one:a. Twob. Zeroc. Threed. One Find the ratio between 450 ml and 1l. How did the physical features of Europe influence medievalsettlements? Liberty meansa) The state of being equalb) The state of being in a common social groupc)The state of being free from oppression and opposition .A club has 18 girls and 12 boys as members. The president wants to break the club into groups, with each group containing the same combination of girls and boys. The president also wants to make sure that no one is left out. What is the greatest number of groups the president can make? PLEASE HELPPPPPP PLSSSS!!!!! Which evidence can be used to support the fact that Muslim has made contributions in the field of mathematics to the world?A They invented the concept of zero.B They pioneered the study of algebra.C They originated Euclidean geometry.D They rejected the Arabic numerals. Which of the following figures has rotated 90 counterclockwise about the origin? Help will mark Brainliest what is accountancy Which chemical equation is balanced? In a short paragraph, summarize about the influence of African and European music on American music. Why do you think we are drawn to the melodic forms found in European music and the rhythmic forms found in African music? ) A rectangles length is 4 more than 3 times its width.Its perimeter is 152. Find the length and width. which of the following actions would cause the volume of the chamber below to increase to 36.0 L? Discrimination is: A) the belief that people of other races are inferior to your own. B) treating a person or particular group of people differently C) unfair and unreasonable opinion or feeling D) the system of rules of a particular country, group, or area of activity. Use this diagram and information given to find mangleAFE.abcdef500Given: mangleAFB = mangleEFD = 65Points B, F, D and points E, F, C are collinear.The measure of angleAFE is . The given equation shows the relationship between the price, in dollars, y, of x gallons of gasoline.y = 2.251Which graph represents the proportional relationship?Cost of Gasoline3.5Cost of Gasoline3.5332.52.5Price ($)2Price ($)21.51.5110.50.5000.5 1 1.5 2 2.5 3 3.5Gallons of Gasolinew.0.5 1 1.5 2 2.5 3 3.5Gallons of GasolineX.Cost of GasolineCost of GasolineY3.53.5332.52.5Price ($)2Price ($)21.51.5110.50.5000.5 1 1.5 2 2.51.5 2 2.5 3 3.5Gallons of GasolineY.0.5 1 1.5 21.5 2 2.5 3 3.5Gallons of Gasolinez.1 of 10 AnsweredSession Score: 0% (0/1) Rewrite the equation below so that it does not have fractions. (Do not use decimals in your answer.)5/6x-2+7/8 10. What natural resource must the United States import to meet its needs? Pascha is factoring the polynomial, which has four terms.3x^3 15x^2 + 8x - 403x^2(x - 5) + 8(x - 5)Which is the completely factored form of her polynomial?O (3x^2 5) (X + 8)O (3x^2 8) (x + 5)O (3x^2 + 8) (x - 5)O (3x^2 + 5) (x 8)