Answer:
def prompt_number():
while True:
number = int(input("Enter a number: "))
if number >= 0:
break
return number
def compute_sum(n1, n2, n3):
total = n1 + n2 + n3
return total
n1 = prompt_number()
n2 = prompt_number()
n3 = prompt_number()
result = compute_sum(n1, n2, n3)
print(result)
Explanation:
Create a function named prompt_number that asks the user to enter a number until a positive number or 0 is entered and returns the number
Create a function named compute_sum that takes three numbers, sums them and returns the sum
Ask the user to enter three numbers, call the prompt_number() three times and assign the values
Calculate the the sum, call the compute_sum and pass the numbers as parameters
Print the result
Answer:
i think its slideshow tab
Explanation:
tell me if im right
The Network Mapper (Nmap) commands that would be useful on this test network are:
- nmap xxx.xxx.x.x -p
- nmap xxx.xxx.x.x -A
<h3>What is a
penetration test?</h3>
A penetration test can be defined as a cybersecurity technique that simulates a cyber attack against an end user's computer system, so as to scan, identify, test and check for exploitable vulnerabilities in the following:
This ultimately implies that, a penetration test avails an tester the ability to exploit a weakness and potential security threats on a test network as a privileged user, during vulnerability assessments of the system.
<h3>The Network Mapper (Nmap) commands.</h3>
In this scenario, the Network Mapper (Nmap) commands that would be useful on this test network are:
- nmap xxx.xxx.x.x -p
- nmap xxx.xxx.x.x -A
Read more on penetration test here: brainly.com/question/25813524
There are several things.
Some which include of
<span>Hard Disk Drive (HDD)
</span><span>Processor (CPU)
</span><span>Graphics card
</span>and
<span>Memory (RAM)</span>