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
After 4th collision in ethernet, find the maximum time that the adapter waits until sensing the channel again for a 100 mbps bro
VARVARA [1.3K]

Waiting time for a 100 Mbps broadcast channel is 0.512 ms

Recall that with the CSMA/CD protocol, the adapter waits K * 512 bit times after a collision,

where K is drawn randomly. For K = 100,

The one bit time for 10 Mbps is 1/10000000 s = 0.0001 ms

The one bit time for 100 Mbps is 1/100000000 s = 0.00001 ms

Waiting time for a 10 Mbps broadcast channel is K*512*0.0001= 5.12 ms

Waiting time for a 100 Mbps broadcast channel is K*512*0.00001= 0.512 ms

<h3>What is a collision in Ethernet?</h3>
  • A collision happens on a half-duplex Ethernet network when two devices on the same network attempt to communicate data at the exact same time.
  • The two transmitted packets are "collapsed" by the network, which results in the network discarding both of them.
  • On Ethernets, collisions are unavoidable.
  • A collision is a momentary interaction between two bodies or more than two bodies at once that modifies the motion of the bodies involved as a result of the internal forces at work.
  • Collisions entail the application of force (there is a change in velocity).

Learn more about collision in Ethernet: brainly.com/question/14123270

#SPJ4

3 0
2 years ago
When looking at a poster from the Art Deco movement, what one design characteristic would you most expect to see?
Lelechka [254]
The correct answer is D. Repeated geometric shapes.
8 0
3 years ago
What tag would you enter to link the text “White House" to the URL<br> http://www.whitehouse.gov?*
astra-53 [7]

Answer:

3.<a href="http://www.whitehouse.gov" target="_blank">White House</a>

Explanation:

The exact question is as follows :

To find - What tag would you enter to link the text “White House" to the URL

http://www.whitehouse.gov with the destination document displayed in a new unnamed browser window?

1.<a ="http://www.whitehouse.gov" target="_blank">White House</a link>

2.<a href="ftp://www.whitehouse.gov" target="_blank">White House</a>

3.<a href="http://www.whitehouse.gov" target="_blank">White House</a>

4.<link="http://www.whitehouse.gov" target="_blank">White House</link>

The correct option is - 3.<a href="http://www.whitehouse.gov" target="_blank">White House</a>

4 0
3 years ago
Required skills,training,education for dentist
AlekseyPX

Answer:

Education-Bachelor's degree prior to admission to dental school; doctoral degree in dental medicine or dental surgery; some dental specializations require completion of a residency

Skills- Communication skills. Dentists must have excellent communication skills, Detail oriented, Dexterity, Leadership skills, Organizational skills, Patience, Physical stamina, Problem-solving skills.

Explanation:

7 0
3 years ago
Can you guess why some of the nodes would still have statically assigned ip addresses?
LiRa [457]

<span>The manual assignment of an IP address to a system is called static addressing. Since the assignment of IP has been entered manually using ARP utility, the network administrators probably forgot to remove the manually configured nodes with IP addresses.  </span>

7 0
3 years ago
Other questions:
  • How does sea floor spreading relate to supercontinents? A. It lowers the overall water level in the ocean so land masses can joi
    13·2 answers
  • Jason is computer professional who has access to sensitive information. He shares this information with another organization in
    7·2 answers
  • For which is a chart legend used?
    8·1 answer
  • ILL GIVE BRAINLIEST TO FIRST ANSWER David is adopting an iOS app from a non-retina screen to a retina screen. The app currently
    13·1 answer
  • Which work habits should you follow to increase work efficiency and avoid health issues?
    6·1 answer
  • What makes a source credible?
    9·2 answers
  • Necesito ejemplos de actitud filosófica por favor
    8·1 answer
  • I don't know what to do for these two questions
    13·1 answer
  • 1. Give one reason why data is represented in binary in a computer [1]
    10·1 answer
  • I'm doing a VHDL program in Vivado, using a zyboz7 20, which would have 2 teams, each of them with different buttons and led lig
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!