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
sasho [114]
3 years ago
7

You wrote a program to find the factorial of a number. In mathematics, the factorial operation is used for positive integers and

zero. What does the function return if the user enters a negative three? 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))
-6
1
-3
There is no output due to a runtime error.
Computers and Technology
2 answers:
Nostrana [21]3 years ago
6 0

Answer: well it’s not “There is no output due to a runtime error”

Explanation: Put that and I got it wrong

finlep [7]3 years ago
5 0

The Answer Is 1.

Edge 2020.

You might be interested in
Derek needs to shift from his desk to a new work area in his office. Which ergonomic principle should he follow while moving his
Paul [167]

Answer:

One should be in neutral posture, which is the ergonomic principle that needs to be followed while moving our belongings from one location to the other. Its because in this position the work done is zero, and hence we never lose any energy. And this is the posture you should ensure while you are working. Also, the goods packed when moved in this manner, has least chance of wear and tear. Thus, the goods remain safe.

Also, Derek should keep things in a box with padding and then lift to move them to the new work area.

Explanation:

The answer is self explanatory.

3 0
3 years ago
Wich is the correct process for selecting an entire row in a spreadsheet?
umka21 [38]
CTRL - (select sentence) - ALT

4 0
3 years ago
Quick!!! Brainliest
xxTIMURxx [149]
D. A technology-and creativity-driven world
7 0
3 years ago
What is a benefit of using client/server network?
ANTONII [103]

The answer is centralization

A client-server network is a server which acts as one powerful computer that provides information to other sub-ordinate workstations called the client. The biggest benefit of this setup is centralization or the central management of the server. Only a single server functions as a host that all clients request and use. Having a single centrally managed server is cost effective and is easily manageable. This centralized control can also be used to deploy processes, allocate user resources and delegate access permissions easily and effectively.

3 0
3 years ago
Read 2 more answers
Discuss the five challenges that limit the use of computer in remote places in Africa​
Alchen [17]

The first challenge is that there is not electric conection.So the computer won't be able to function.Also there will be noone who will be able to use it due to the lack of education.Plus there will not be internet connection , limitting the abilities of the computer to the very basics.In addition there will not be any tools or spare parts in order to fix a computer.Finally even if thete were spare parts there woul not be someone able to gix the computer.

I hop I was helpful.Let me know if you need anything else.

3 0
3 years ago
Other questions:
  • What precaution can you take while using a social networking site to prevent a data breach?
    15·1 answer
  • This operating system was used by individual computers and required users to type commands.
    9·1 answer
  • How can i become an expert in computer and technology?
    15·2 answers
  • What is output when the CarTest application is run? Why?
    11·1 answer
  • If you turn on the Lock alpha button , what happens
    5·2 answers
  • Should I Buy a 2070 super or 2060 super
    6·1 answer
  • Green field country is planning to conduct a cricket match between two teams A and B. a large crowd is expected in the stadium a
    6·1 answer
  • Write a program that asks a user to enter a date in month day year format (for example 10 12 2016) and displays the day of the w
    5·1 answer
  • When a company sends you recommendations of what to buy you know that :
    12·1 answer
  • Web designers use programming languages to write websites. A True <br> B False​
    15·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!