Answer:
Add this statement at the end of your steps() function
return ""
This statement will not print None at the end of steps.
Explanation:
Here is the complete function with return statement added at the end:
def steps(number): # function steps that takes number (number of steps to print) as parameter and prints the steps specified by number
i = 1 #assigns 1 to i
while i < number + 1:
string = str(i) * 3 #multiplies value of i by 3 after converting i to string
string1 = str(string) # stores the step pattern to string1
if i != 0: # if the value of i is not equal to 0
string1 = (i * 4*' ' + "\b" + "\b" + "\b" + "\b") + string #set the spaces between steps
elif i == 1: # if value of i is equal to 1
string1 = string #set the string to string1
print(string1) # print string1
i = i + 1 # increments i at each iteration
return "" #this will not print None at the end of the steps and just add a an empty line instead of None.
Screenshot of the corrected program along with its output is attached.
Answer: D, C, E, are the answers! good luck.
Explanation:
Answer: Stealth scanning technique
Explanation:
Stealth scanning technique consist of the following types of scans :
1. FIN scan
2. X- MAS tree scan
3. NULL scan
The FIN scan responds by considering port open if response in received for its packet sent with the fin flag else considered closed.
The X-MAS tree scan fires up by setting a TCP packet with URG, PUSH, FIN flags and the port is considered open if no response.
NULL scans sends null packet and considers it to be an open port.
Stealth scanning techniques considers to get some response from the network with out actually using a handshaking and is used to bypass firewall rules, logging mechanism, and hide themselves as usual network traffic.
The answer to setting up a home network using wireless connections is creating a (C) WAN