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
Andrej [43]
3 years ago
9

Complete the function to return the factorial of the parameter,

Computers and Technology
2 answers:
pav-90 [236]3 years ago
6 0

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!

Nastasia [14]3 years ago
4 0

Answer:

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))

Explanation:

i got it right on edge 2020

You might be interested in
Software refers to the physical parts of a computer.<br> a. True<br> b. False
Nookie1986 [14]
False. Software refers to the programs that run on the computer. Hardware refers to the physical part making up the computer.
4 0
3 years ago
Read 2 more answers
When you use the Filter feature, what appears in each column label
Scrat [10]
<span>an arrow  ..............................</span>
5 0
4 years ago
Java variable is the name of a Group of answer choices numeric data value stored in memory data value stored in memory that can
artcher [175]

Answer:

Java variable is the name of a group of data value stored in memory that can change its value but cannot change its type during the program's execution

Explanation:

Generally, a variable is a temporary location in the memory where data are stored in a computer program. Values in the variable can always be change during the course of program execution.

The equal sign ( = ) is use to assign and identify a variable. The value to be stored in the variable is always at the right of the equal sign, while the variable name is always at the left of the equal sign.

5 0
3 years ago
A(n) ____________ is a group of similar or identical computers, connected by a high-speed network, that cooperate to provide ser
scoundrel [369]

Answer:

cluster

Explanation:

A cluster in a computer system is a collection of servers and other resources that work together to provide high reliability and, in certain situations, load balancing and parallel processing.

6 0
2 years ago
Which of the following is NOT included in the entry career pathway?
SVETLANKA909090 [29]
Looking for jobs is NOT included in the entry career pathway. When you state entry career path, you need to reconsider what kind of job you are going to proceed in. 

Happy studying ^-^
3 0
3 years ago
Read 2 more answers
Other questions:
  • After a break, always review your work to
    12·2 answers
  • Please help me ! All you do is just put it it all in your own words ! Please this is for my reported card!i don't know how to pu
    15·1 answer
  • A business wants to centralize its administrative tasks. At the same time, it wants the existing systems to manage and sustain t
    14·2 answers
  • Explain the term DNS(Domain Name System) and why it is used.
    9·1 answer
  • A 6.7 kg object moves with a velocity of 8 m/s. What's its kinetic energy?
    6·2 answers
  • Which tag provides information about a web site?
    12·1 answer
  • Mary is working on joining of a new domain tree to an existing forest, but before starting the process, she should have at least
    7·1 answer
  • What does a good résumé help you do?
    10·1 answer
  • If you use your computer primarily for telnet into a remote computer, will you have a large long distance telephone bill?
    14·1 answer
  • What type of attack occurs when the threat actor snoops and intercepts the digital data transmitted by the computer and resends
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!